php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#280772 - 01/17/05 08:07 PM Re: Finished-[6.5] Time ban and notifications 1.03 [Re: domain123]
Slawek_L Offline
Enthusiast

Registered: 01/28/03
Posts: 364
Loc: Poland, Warsaw

   Re: Finished-[6.5]  Time ban and notifications 1.03 to Del.icio.us Add to del.icio.us
  Digg Re: Finished-[6.5]  Time ban and notifications 1.03 Digg it
Great <img src="http://www.ubbdev.com/forum/images/graemlins/cool.gif" alt="" /> <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br />I installed it and....<br /><br />When I wrote any number in ban timer is always display that is pernament ban <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" /><br />Reason of ban doesn't see in PM, but in code, in changeuser.php are lines:<br /><br /> $banreason = $html -> do_markup($banreason);<br /> $banreason =nl2br($banreason); <br /> $banreason = eregi_replace("{$config['images']}", "{$config['imageurl']}" , $banreason);<br /><br />What is mean "nl2br" in code <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" /><br /><br />I feel that is sth wrong <img src="http://www.ubbdev.com/forum/images/graemlins/smirk.gif" alt="" />
_________________________
[]http://www.mb.org.pl/forum/images/graemlins/icon_astro.gif[/] MB Klub Polska
[b]& Orlen-Team

Top
#280773 - 01/18/05 07:58 AM Re: Finished-[6.5] Time ban and notifications 1.03 [Re: Dawg_dup1]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
www.php.net/nl2br<br /><br />Are you sure you followed the instructions exactly?

Top
#280774 - 01/18/05 09:17 AM Re: Finished-[6.5] Time ban and notifications 1.03 [Re: domain123]
Slawek_L Offline
Enthusiast

Registered: 01/28/03
Posts: 364
Loc: Poland, Warsaw
<br />Are you sure you followed the instructions exactly? [/]<br /><br />yes <img src="http://www.ubbdev.com/forum/images/graemlins/blush.gif" alt="" /> when this 'error' appeared I check all new script again.<br />Next I rewrite all mods again in new/orginal files - the same result <img src="http://www.ubbdev.com/forum/images/graemlins/frown.gif" alt="" /> <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" />
_________________________
[]http://www.mb.org.pl/forum/images/graemlins/icon_astro.gif[/] MB Klub Polska
[b]& Orlen-Team

Top
#280775 - 01/18/05 10:33 AM Re: Finished-[6.5] Time ban and notifications 1.03 [Re: Dawg_dup1]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
Hmm....<br />Give me a day.

Top
#280776 - 01/18/05 11:33 AM Re: Finished-[6.5] Time ban and notifications 1.03 [Re: domain123]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
Try the instructions in the attachemnt.


Attachments
124652-6.5_Time_ban_and_notifications1.04.txt (110 downloads)


Top
#280777 - 01/18/05 11:34 AM Re: Finished-[6.5] Time ban and notifications 1.03 [Re: domain123]
UnixSpot Offline
User

Registered: 06/18/02
Posts: 47
I noticed with the new instuctions it is missing one thing.<br /><br />At the end of the editing of the admin/showuser.php file it shows this <br />---------------<br />}else{<br /> $banreason_display = <<<END<br /> <textarea name="banreason" rows="5" cols="30" id="banreason"></textarea><br />END;<br /> $banduration_display = <<<END<br /> <input type="text" name="banduration" size="5" id="banduration" /><br />END;<br />--------------------------<br /><br />After the last END; there should be a }<br /><br />It should look like this:<br />-------------------------<br />}else{<br /> $banreason_display = <<<END<br /> <textarea name="banreason" rows="5" cols="30" id="banreason"></textarea><br />END;<br /> $banduration_display = <<<END<br /> <input type="text" name="banduration" size="5" id="banduration" /><br />END;<br /><br />}<br />--------------------------------<br />With out that bracket, I ended up getting a Parse Error.<br /><br />Just thought I would mention it. I was using the Time Ban and Notification 1.03 txt file when I ran into the problem.

Top
#280778 - 01/18/05 11:37 AM Re: Finished-[6.5] Time ban and notifications 1.03 [Re: Diamond]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
You mean in the "old" instructions, the 1.03?

Top
#280779 - 01/18/05 12:05 PM Re: Finished-[6.5] Time ban and notifications 1.03 [Re: Diamond]
Slawek_L Offline
Enthusiast

Registered: 01/28/03
Posts: 364
Loc: Poland, Warsaw
[]UnixSpot said:<br />I noticed with the new instuctions it is missing one thing.<br /><br />At the end of the editing of the admin/showuser.php file it shows this <br />---------------<br />}else{<br /> $banreason_display = <<<END<br /> <textarea name="banreason" rows="5" cols="30" id="banreason"></textarea><br />END;<br /> $banduration_display = <<<END<br /> <input type="text" name="banduration" size="5" id="banduration" /><br />END;<br />--------------------------<br /><br />After the last END; there should be a }<br /><br />It should look like this:<br />-------------------------<br />}else{<br /> $banreason_display = <<<END<br /> <textarea name="banreason" rows="5" cols="30" id="banreason"></textarea><br />END;<br /> $banduration_display = <<<END<br /> <input type="text" name="banduration" size="5" id="banduration" /><br />END;<br /><br />}<br />--------------------------------<br />With out that bracket, I ended up getting a Parse Error.<br /><br />Just thought I would mention it. I was using the Time Ban and Notification 1.03 txt file when I ran into the problem. [/]<br /><br />I found it, but here was my bug <img src="http://www.ubbdev.com/forum/images/graemlins/blush.gif" alt="" /><br />When I made copy&pase operations, I had<br /><br />xxxx = xxxx<br />in Anno mods is xxxx .= xxxx<br /><br />And all problems disappeared <img src="http://www.ubbdev.com/forum/images/graemlins/grin.gif" alt="" /><br /><br /> <img src="http://www.ubbdev.com/forum/images/graemlins/blush.gif" alt="" /> <img src="http://www.ubbdev.com/forum/images/graemlins/blush.gif" alt="" /> <img src="http://www.ubbdev.com/forum/images/graemlins/blush.gif" alt="" />
_________________________
[]http://www.mb.org.pl/forum/images/graemlins/icon_astro.gif[/] MB Klub Polska
[b]& Orlen-Team

Top
#280780 - 01/18/05 12:26 PM Re: Finished-[6.5] Time ban and notifications 1.03 [Re: domain123]
UnixSpot Offline
User

Registered: 06/18/02
Posts: 47
Old as in I just downloaded it a few hours ago....

Top
#312191 - 12/06/06 11:55 PM Re: Finished-[6.5] Time ban and notifications 1.04 [Re: Anno]
cgregg Offline
Lurker

Registered: 09/12/06
Posts: 8
DOH! The attachment/link isn't working...anybody got instructions for this that will work under 6.5.5 ??


nevermind.... it's amazing what you can find when you look right in front of ya (or a few posts above your new one), lol


Edited by cgregg (12/06/06 11:58 PM)

Top
Page 2 of 2 < 1 2


Moderator:  Ian_W 
Who's Online
0 Registered (), 23 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 12
blaaskaak 7
tackaberry 5
FREAK1 5
Chris Bale 4
Ian_W 4
Gizmo 4

 

 

 
fusionbb message board php hacks