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 (102 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 
Top Posters Last 30 Days
AllenAyres 63
Gizmo 27
sirdude 24
Zarzal 12
blaaskaak 10
tackaberry 4
winter 3
Who's Online
1 Registered (AllenAyres), 35 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
iPhone 3G
by AllenAyres
07/23/08 09:59 PM
[7.x] [Beta] Purge Welcome Messages
by Gizmo
07/23/08 06:58 PM
Team UBBDev Rides Again!
by AllenAyres
07/23/08 03:23 PM
User Authentication Class
by Gizmo
07/21/08 07:07 PM
Auto repair table
by blaaskaak
07/19/08 06:16 PM
[7.3.x] ubb.links
by AllenAyres
07/18/08 05:09 PM
ubb.social
by willing
07/17/08 06:29 PM
New Mods
[7.3+] CustomTag - Photobucket Slideshow
by Gizmo
07/12/08 11:14 AM
[7.3.x] Copy forum permissions
by blaaskaak
07/09/08 02:37 PM
Protect users emails
by Basil Fawlty
06/29/08 08:44 AM
[7.3.x] Scheduled board close for backup
by blaaskaak
06/26/08 04:01 AM
[7.3+] CustomTag - Audo Embedding
by Gizmo
06/24/08 07:52 PM
Newest Members
nixadmin, Stanley, NazzaN, mmem700, Tyler
13310 Registered Users

 

 

 
fusionbb message board php hacks