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
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 (112 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
1 registered (Gizmo), 23 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks