![]() |
well it is possible, that another hack has changed that line
you have to compare the changes my hack does to the original file and try to include it into your file. as i said, make a backup of your newreply.php, include the hack, if it doesn't work, use the backup again |
I have the same code as X-Fan, using 2.2.2
|
hmm *wondering*
try just to replace all $title with $subject in my instructions, but make a backup of your file before implementing it. :) |
THis is a very cool hack, stops ppl from spamming, lol
|
Have uploaded a new version.
Changes: The added text will be included in the searchindex now. Also the Dateline of the post and the lastpost time of the thread are updated after someone make such a doublepost, so it is counted as a new post, if a user has logged out between the original post and the addition :) |
Cool man, I like the hack...
|
Hmm, when I installed it, when you post it has a white screen with a error on line 288... and im on vb 2.2.6
|
you must have made an mistake when installing my hack
it works perfect in vb2.2.6 use a backup of your file, and follow the instructions carefully... |
Dayum... No matter what I do it still says a error is on line 288 or 289...++++.
|
post 5 lines above and below line 288, perhaps i can see your fault
|
o.O...err ok I'll try.
-------- Heh, still did'nt work, well this is how it looks in the php file, can you see if its messed up there PHP Code:
|
hmm, can't see whats wrong...
can you please highlight which of this line is the error producing line (as your errormsg says) also please tell me the exact errormsg ;) |
Ok, here is the message
Fatal error: Call to undefined function: unindexpost() in /home/sjmadho/public_html/board/newreply.php on line 288 and the exact newreply is in the attactments .. thanks alot. |
mystislav: edit your post, you are not allowed to post full vb-files here!!!
second: than the problem isn't my hack. you have to have made some mistakes some time ago, the function unindexpost() is defined in functions.php on every vb. If you don't have it, you have messed up your functions.php |
Aight, so if I upload a new functions it should work?
|
Xenon,
Is there any way to add color to the DOUBLE POST FEATURE part of this line? PHP Code:
|
@Mystislav: yes, then it should work.
@Boofo: You can use every vb-code in the textpassage between post1 and post2, so if you have enabled the color-bbcode on your board you should be able to do that: PHP Code:
|
I had to replay to this message in order to see how you had the code (it was parsed here. The disable tags hack is great for this sort of thing!) :)
I was using [disable]<font color=\"yellow\"> and </font>[/disable]. That's where I messed up. Thanks for the fix. :) [disable]$DB_site->query("UPDATE post SET dateline='".time()."',pagetext='".addslashes($last post[pagetext]."\n\nDOUBLE POSTING FEATURE\n\n".$message)."' WHERE postid=".$lastpost[postid]);[/disable] Quote:
|
I forgot to add in my last message (you see...they really need this here for this kind of thing. :) ).
Is there a way to have it say like: DOUBLE POSTING FEATURE - (post subject here) in case they enter a post subject in the added message? And have it show: DOUBLE POSTING FEATURE by itself it they don't? |
ups, damn i forgot code is parsed in [php]-tags too ;)
yes, Having the Subejct is also possible: PHP Code:
|
Xenon,
Thank you very much, sir. That works great! Now (this is the last thing, I swear. :) ), Is there a way to have the date and time of the first post stay the same so we know when the post started and have the date and time of each additional post in the DOUBLE POSTING Feature right after the subject title? That way we know when the first message was (by the original date and time staying in tact) and the new date and time for each addition after the subject line. |
*ggg* in my first version of the hack the time stayed the same after posting, its just altered tu bump a thread.
if you want to stay the time just remove this part: PHP Code:
PHP Code:
just add something like that: PHP Code:
|
I see what you mean about the time no longer working right when I add it to the middle of that line. I went back to the time changing in the main post and left it with just the title added. It doesn't do me any good if I can't pull the time out for each addition. Thanks, anyway, for trying. And thanks for putting up with all of my wacky ideas. :) You have a great hack here! Keep up the fantastic work! :)
|
Xenon:
I made the following changes so that if the post is the same as the one that they just got through posting within the past hour then nothing new gets added to the thread or the post. PHP Code:
--Parker |
you should put [php]-tag around your php-code ;)
but it's a good idea, i'll upload a new version, which doesn't update the old post if the message is the same as pagetext of the old one ;) |
Xenon:
Yeah I know. I forgot the phpcode. Sorry about that. Thanks for including this with your great hack. Parker |
One little issue... can you modify it so that it adds on a new post if that would make it go over the characters per post limit, instead of just editing the old one?
|
ups, a feature i didn't use, so i've forgotten to add something for this ;)
find this line: PHP Code:
PHP Code:
|
When I change the code you gave above, I get this error: :)
Quote:
|
damn ")" and "}"s ;)
ad a ) just before } should work then ;) |
Thank you, sir. Worked like a charm. :)
|
Warning: Unexpected character in input: '' (ASCII=16) state=1 in /home/videogam/public_html/forum/newreply.php on line 307
im getting this error, what should i do? |
Thank you so much for this hack (from someone often called the Double-Posting Nazi) ;)
|
Quote:
|
I like it.
*clicks install* |
but I have a problem It won't work on my quick reply.
|
hmm, as i know it works with fireflys quickreply, if you use anotherone, you have to add some similar lines of code to the quickreply section...
|
lol I noticed I didn't upload newreply.php lol.
sorry for the trouble. |
loool
np :) |
I need suggestion. I want to install another hack but I don't know what could you suggest me something?
|
All times are GMT. The time now is 12:13 PM. |
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:
|