![]() |
Quote:
|
Quote:
Quote:
HTML Code:
<if condition="$_REQUEST['f']==forum_id_goes_here">$showrandomquote</if> PHP Code:
|
Is there a way to used a vbphrase to post a random quote? like
[ quote51 ] or [ randomquote ] |
Do you mean you want to use a bbcode so it shows up in the post? It's not possible yet, but it's an interesting idea.
|
I love watching great hacks evolve... ;)
|
Great hack,
I didn't want to have the large quote block at the top of every page and the Vbadvanced module you posted was a complete mess. No offence. It might be the diff between 3.5.2 and 3.5.3 but I started with a fresh 3.5.3 board yesterday and it simple destroyed the pages. Anyway long story short, I disassemble the large block and created a sideblock module. It's not the prettiest thing and the code is messy but it works for me. Using quote_randomquote and if anyone wants to do this here is how I broke it down: PHP Code:
Cheers Jaks |
Found an error in 3 templates
If you goto any Quoteit page you will see the page title is messed up. PHP Code:
PHP Code:
These 3 templates need to be editted ( same edit in each one in the same place.) quote_delquote quote_addquote quote_listquote Find (right near the very top of each template) PHP Code:
PHP Code:
Great hack I'd click install twice it I could :D Jaks |
Quote:
And the Random Quote plugin to global hook where does that go and do I remove it from where it is now or copy it to the new location? Where is it now? |
That conditional statement goes in the forumdisplay template not to sure about the other.
|
tarot - I think it is the Forumdisplay template. As for the second step, go to your Plugin Manager, edit the plugin called "Random Quote", change the hook to "global_start" and add that piece of code at the end.
jaks - Parsing bbcode would require you to modify the code, and I can't really help you since I haven't gotten around to learning how to do it myself. |
All times are GMT. The time now is 03:46 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:
|