Who is online?
In total there are 3 users online :: 0 Registered, 0 Hidden and 3 Guests None
Most users ever online was 246 on Tue 31 Jan - 2:47
Statistics
We have 150 registered usersThe newest registered user is Luxic
Our users have posted a total of 2050 messages in 200 subjects
Latest topics
» A small shareby Flora Today at 21:03
» Edit the 404 page on Forumotion
by LGforum Today at 15:29
» How to Change The Homepage?
by LGforum Today at 15:28
» Counter for my notices box
by Niko Today at 15:03
» 21. Show Recent Topics Preview In Accordion
by ReBoRN Yesterday at 19:08
9. Quote Post in Quick Reply (no page change)
Page 2 of 2 • Share •
Page 2 of 2 •
1, 2
Re: 9. Quote Post in Quick Reply (no page change)
I have updated this tutorial to a better script to fix the issues with it.
Its also a lot faster now.
Thanks to Ion-cube for bringing up the idea of focusing on the quick reply textbox. i don't know why it never occured to me.
If you have the original script installed, then i'd recommend updating to the new one
Its also a lot faster now.
Thanks to Ion-cube for bringing up the idea of focusing on the quick reply textbox. i don't know why it never occured to me.
If you have the original script installed, then i'd recommend updating to the new one

LGforum- Forum Version: Phpbb3
Posts: 729
Join date: 2011-10-05
Location: UK

Re: 9. Quote Post in Quick Reply (no page change)
Mission Completed...thnx
Can you explain this
var url=this.parentNode.href;
Can you explain this
var url=this.parentNode.href;
ion-cube
Status: Testing
Posts: 121
Join date: 2011-10-19
Age: 23
Location: Pakistan
Re: 9. Quote Post in Quick Reply (no page change)
The function is executed when you click on the quote image. It's parent Node is the link to the quote post page. So this.parentNode.href gets the quote link. The quote link is needed for the ajax call.

LGforum- Forum Version: Phpbb3
Posts: 729
Join date: 2011-10-05
Location: UK

Re: 9. Quote Post in Quick Reply (no page change)
Thank you for the update. 

Flora
Status: If you like gardening, please join my site. Ty. :)
Forum Version: Phpbb3
Posts: 151
Join date: 2011-11-18
Location: USA

Re: 9. Quote Post in Quick Reply (no page change)
Thanks for your update LGForum.

redindian- Posts: 14
Join date: 2011-11-28
Age: 36
Location: Malaysia

Re: 9. Quote Post in Quick Reply (no page change)
Hello LG
Somehow the code in the 1st post isn't working for me. I have pasted the code into the javascript management thing and it's still not working.
Somehow the code in the 1st post isn't working for me. I have pasted the code into the javascript management thing and it's still not working.
syndicate- Posts: 3
Join date: 2011-12-08
Re: 9. Quote Post in Quick Reply (no page change)
Have you made sure all your other Javascripts are valid? Because if one script crashes they all do, since they are bungled into one by FM.
If so, then provide your URL, so i can take a quick look if you want.
If so, then provide your URL, so i can take a quick look if you want.

LGforum- Forum Version: Phpbb3
Posts: 729
Join date: 2011-10-05
Location: UK

Re: 9. Quote Post in Quick Reply (no page change)
This is interesting
Instead of the quick reply thing , When someone click on the " quote " button, it automatically puts the quoted tags and the post in the quick reply box without taking you to another post.
Forgive me if that's what the code is intended for lol, but thats what its doing in my forum. Brilliant feature nevertheless
And to answer your question, yea javascript is valid. I will PM you my link after your next reply
Thanks for taking the time to answer
Instead of the quick reply thing , When someone click on the " quote " button, it automatically puts the quoted tags and the post in the quick reply box without taking you to another post.
Forgive me if that's what the code is intended for lol, but thats what its doing in my forum. Brilliant feature nevertheless
And to answer your question, yea javascript is valid. I will PM you my link after your next reply
Thanks for taking the time to answer
syndicate- Posts: 3
Join date: 2011-12-08
Re: 9. Quote Post in Quick Reply (no page change)
syndicate wrote:This is interesting
Instead of the quick reply thing , When someone click on the " quote " button, it automatically puts the quoted tags and the post in the quick reply box without taking you to another post.
Thats exactly what it is supposed to do
hence the title of this tutorial 'Quote Post in Quick Reply', i suggest you read the first post again haha.
If that is what it is doing on your forum, then it is working fine.

LGforum- Forum Version: Phpbb3
Posts: 729
Join date: 2011-10-05
Location: UK

Re: 9. Quote Post in Quick Reply (no page change)
oh dear i feel like an idiot.
Sorry to bother lol, I thought this was the script for no page change while posting a message. you know the information page.
Sorry to bother lol, I thought this was the script for no page change while posting a message. you know the information page.
syndicate- Posts: 3
Join date: 2011-12-08
Page 2 of 2 •
1, 2
Page 2 of 2
Permissions in this forum:
You cannot reply to topics in this forum