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 (108 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 12
Gizmo 10
S7ARBVCK 2
Cambridge 1
Murphdog 1
MattUK 1
Kevin H 1
Who's Online
1 Registered (mikey81), 37 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
BeyondCompare v3.00
by blaaskaak
Yesterday at 02:46 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks