Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm


Joined: Aug 13, 2009
Posts: 1002
Location: Netherland

PostPosted: Wed Mar 28, 2018 9:26 am Reply with quote

Old Shout box index is too large to show on the forum.
Only registered users can see links on this board! Get registered or login!


Last edited by hicuxunicorniobestbuildpc on Wed Mar 28, 2018 10:20 am; edited 1 time in total 
View user's profile Send private message Visit poster's website
neralex
Site Admin


Joined: Aug 22, 2007
Posts: 1442

PostPosted: Wed Mar 28, 2018 9:56 am Reply with quote

Try to replace eregi() with preg_match():

php Code:


if (eregi('http://',$row_avatar) == TRUE) {

if (preg_match('http://',$row_avatar) == TRUE) {
 
View user's profile Send private message
hicuxunicorniobestbuildpc
PostPosted: Wed Mar 28, 2018 10:14 am Reply with quote

Neralex, I did changed it to pre_match but I get another error.

Code:
Warning: preg_match(): Delimiter must not be alphanumeric or backslash in /modules/Shout_Box/index.php on line 729
 
neralex
PostPosted: Wed Mar 28, 2018 11:06 am Reply with quote

try this, on this way you can make sure that https is also possible:

php Code:
if (preg_match('/http:\/\//',$row_avatar) == TRUE || preg_match('/https:\/\//',$row_avatar) == TRUE) {
 
hicuxunicorniobestbuildpc
PostPosted: Wed Mar 28, 2018 7:38 pm Reply with quote

This solved the problem!!! Very Happy but the file is really old.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©