![]() |
i have one question....heh....i hope this thread is like....still loooked at!!!!
anyway.... the attachment is the Double Post Prevention Hack before I installed Anime-loo 's Post Redirect Hack. I was wondering what i would change in the code so that it will show "Double Posting are we?" between each post, instead of right after the text like it's doin now....if needed, i'll attach another screenshot of how it looks now.... I hooooppppe someone can answer this *dances* |
:bunny: well...i'm bored....so i'll show ya how it looks now...
the attachment actually shows (1) how it was [in the quote] (2) how it is now [after i installed Anime loo's Post Redirect hack. heeelp?? :bunny: |
hmm, i can't really see the sense for this, but all you have to change is this:
PHP Code:
if you left out the \n tags, it will lead to your problem. if they're in, maybe you have to ask anime about his hack ;) |
*dances*....
THANKS !!!!!!!! \n\n did the trick! w00t! |
Quote:
Parse error: parse error, unexpected ',' in /home/opie/public_html/forums/newreply.php on line 296 I'm running 2.2.7 if that matters. |
if you have made everything right, there couldn't be such a parse error.
you should check your php syntax on mistakes you have made |
Code:
if($threadinfo['forumid'], array(10,11,13)) or $lastpost['userid'] != $bbuserinfo['userid'] OR (time() - $lastpost['dateline']) > 3600 OR ($attachmentid and !$foruminfo['moderateattach'])) { That's what I put and those are valid forum ids, but still the error... weird. |
whats wierd?
you clearly forgot half of the codechanges...... why haven't you put the word in_array in your code as i stated? |
Sorry I don't know too much about php, so instead of array put "in_array" ?
I didn't see where you said put "in_array". |
use this code instead, it seems VB took out in_array :p lol:
[sql] if(in_array($threadinfo['forumid'], array(x,y,z)) or $lastpost['userid'] != $bbuserinfo['userid'] OR (time() - $lastpost['dateline']) > 3600 OR ($attachmentid and !$foruminfo['moderateattach'])) { [/sql] |
All times are GMT. The time now is 11:35 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|