![]() |
I'm using 2.2.1 and it works great :)
|
works great on 2.2.2 also
I added the same code from newreply and newthread to the editpost template to get it showing in edit screens as well ;) Thank you so much Firefly - you always have the best stuff! |
Quote:
|
Sure no trouble at all (After all, Chen did all the hard work ;) )
The instructions said this: Quote:
Also, Firefly had Quote:
Quote:
(just MY preference) Hope this helps |
Ok!!!
The code which in attachment, is it full compatible for vb 2.2.2??? Thank you for your answer! |
Yes, I installed this on my vB 2.2.2 and it's working beautifully :)
|
Quote:
Thanks for you quick answer :) |
It works with 2.2.1 as I just installed it!
Great work FireFly and thanks alot! |
Yeap!
I've install it already! It's looks great... Thanks ;=) |
Firefly,
Is there any good way to make this work with your Quickreply hack? |
In my poll.php file I don't have the exact code that were in the intructions.
Code:
And in poll.php replace Code:
// redirect |
If you figure it out or get an answer to the question about why that code won't work, I'd be interested in hearing about it. :)
Quote:
|
Quote:
Code:
if (!$threadinfo[visible]) { |
I have both quickreply and quicknewthread installed. The problems I am havng are:
It shows messages as being unread when you go back to forums. Send to forum by default only works in reply, not quick reply any suggestions? :) |
I have that in 2 places in poll.php, but no redirect above either one. :)
Quote:
|
hi,
works this hack with 2.2.6?? Please! :classic: |
Yes.
|
Just a second 'yep' to that -- I loaded this as written into 2.2.6 this weekend and it is working like a champ.
Thanks, Firefly! :) |
Firefly,
Do you have a way that quickreply and this hack can co-exist in perfect harmony? (i.e. if a user's default it to return to the thread list, it should work even if they use the quickreply. Currently it doesn't do that). |
in the showthread_replybox template try adding this:
PHP Code:
PHP Code:
|
Doesn't seem to. Any other thoughts?
|
Try changing this:
PHP Code:
PHP Code:
|
Nope.
And viewing source for the page, I can see that the $sendtofurumchecked is being evaluated as nothing. The account I'm using to test _does_ have the redirect to the thread list turned on in the CP. Any idea why the variable isn't defined? |
Ok, try this and let me know if it works. I just put it together and haven't tested it thoroughly yet. :)
In showthread.php: Find: PHP Code:
After it add: PHP Code:
Then put this in your showthread_replybox: PHP Code:
|
Chen, here is the code I seem to be having problems with? Can you please tell me how to get this hack to work with the Hidden reply hack in this bit of code?
Code:
// redirect Code:
// redirect |
Is everyone ready for this? I think I am finally starting to get the hang of this. I fixed my problem stated in the post above.
I replaced this: Code:
// redirect Code:
// redirect Thanks to everyone who has helped me along the way to get to this point. I know it's not a big deal to a lot of you, but it sure is to me to know that I am finally starting to understand some of this now. :) |
Er.. is this working with 2.2.7??
|
Not sure, gonna give it a whirl
|
Oy. I am screwed up. I can't get this to work on 2.2.7. It is probably me, though, rather than the program. I get the following error when I click "reply" in an existing thread:
Quote:
|
A really cool hack, and it allllmost works, got it working in both my replys and quickreply box, just one snag... replys work fine, but now trying to start a new topic gives me this:
Parse error: parse error, unexpected T_ELSE in C:\Inetpub\wwwroot\procreatica\forum\newthread.php on line 258 heres line 256 to 274 // redirect } elseif ($visible && !$sendtoforum) { $goto="showthread.php?s=$session[sessionhash]&threadid=$threadid"; } else { $goto="forumdisplay.php?s=$session[sessionhash]&forumid=$forumid"; } eval("standardredirect(\"".gettemplate("redirect_p ostthanks")."\",\"$goto\");"); } else { //create new thread if ($postpoll) { $visible = 0; } $DB_site->query("INSERT INTO thread (threadid,title,lastpost,forumid,open,replycount,p ostusername,postuserid,lastposter,dateline,iconid, visible,attach) VALUES (NULL,'".addslashes(htmlspecialchars($subject))."' ,'".time()."','$forumid','1','0','".addslashes($po stusername)."','$bbuserinfo[userid]','".addslashes($postusername)."','".time()."','$i conid','$visible','$attachcount')"); $threadid=$DB_site->insert_id(); where did i goof? Thanks in advance for any help :) :D |
Quote:
Right now I am having the problem, (Yes I installed this a long time ago and am trying to fix a problem with it) If the user has it selected to return inside the thread, they are returned to the top of the thread. I want it so that it will return them directly to their post. I have that hack that numbers each thread and creates a hyperlink to each thread, but I don't know exactly how to get it to go back to their post after they submit their post. I tested it and it does look like the problem is with this hack. (I think) Can somebody please help me? :( |
standard reply: anyone tested this in 2.3.0?
|
I would assume it works fine in 2.3.0 because I just installed it on 2.2.9 with no problems at all.
I also added this option to the registeradult and registercoppa templates. Also added it to modify user and add user in the admin CP. Great HACK! :) |
Anyone know if it actually works in 2.3? There must have been changes to the PHP files we're supposed to edit. I can't find all the things I'm supposed to replace.
Anyone have an update? |
Thanks for this hack! I just installed it in 2.3 and didn't have any troubles.
Well, I never did find this in the poll.php: PHP: // redirect if ($threadinfo[visible]) { with PHP: // redirect if ($threadinfo[visible] && !$sendtoforum) { Cindy |
Oops -- double post.
|
Cindyd,
Try PHP Code:
|
My members have been begging for this but I just can't get it to work. :disappointed:
I have version 2.3. When I hit the post reply button I get a parse error in the newreply.php file, line 645 which is right around the last edit for that file. Would anyone be willing to help me??? |
Ive read the thread and I see a few mentions of how to get this to work with the quick reply box but I dont see anything definite. Can anyone tell me how to implement this with the quick reply box?
|
Anyone??
|
All times are GMT. The time now is 05:52 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:
|