![]() |
ok... 3 posts in a row (sorry)... but just wanted to give more info.... as i've tried everything i can think of and still no luck....
i use vbadvanced and i edited the navbar where the quotes show up there. They only show up once you are on the FORUMHOME (index.php), but do not show up on my main page (which i use portal.php).... I can get normal text to show up ex: TEST $showrandomquote TEST will show up on the main page of the portal, and then if you click to the forums page then you see TEST + the quote.... i've looked through phrases + templates etc.... I can't figure out why it simply will not just show up.... any help appreciated... |
the conversation with myself continues.....
it seems the phrases didn't get installed properly by the install script.... does anyone have a list of the phrases, perhaps i could install them manually.... ok actually maybe they are installed..... but they can't read from .... or soemthing man this hack needs updated.... |
I have the same error as you Dolamite, but I don't understand installing hacks very well I am new to this so I need simply instructions to fix it *blush*...
|
what i can't understand is why the phrases aren't being read.... they are there in the hprase manager but anything related to this hack which uses a phrase is just blank....
|
i just ran all the queries listed for upgrading.... just in case... still no luck...
i think i'm going to have to not use this hack..... anyone know of another quote hack that works with 3.0.7? i could probably get a book on programming php.... read it.... write my own hack..... before this one gets updated :P j/k but it is rather frustrating.... i've been at this most of an entire day....will soembody please...... save me.... |
I have it working fine on 3.0.7
Try editing a phrase then saving it. You dont have to make changes. |
i did that for a few... and does seem that it might work... however searching for some of them has no results....i'm not even sure they are phrases i guess.... a complete list of them all would be nice
$randomquote[author] $randomquote[quote] neither of those produced a result when searching for phrases..... |
did a complete re-install of this hack.... and did the manual editing as you suggested.... and its working.....
i am still having trouble getting $showrandomquote to work inside the navbar template though... if anyone has thoughts on that.... and sorry for .... spammin....this thread to death... |
ok, i waited for something like a week to see if my quoteit will start working and whatnot on my forum, plus i was adding a few quotes of mine into the db via my forum.
problem: the quotes ain't changing everyday, or at all for that matter. missing a cron job or what? if so, it's not in the zip and i dont know how to write cron jobs. please let me know how to fix this minor problem. :P |
ok i got it.... for anyone else who might want to do this....
below require_once('./global.php');(in your portal.php, adv_index.php whatever) add: [QUOTE] // ### QUOTEIT ################################################## ####### if ($vboptions['showquote']) { $result_quote = $DB_site->query(" SELECT * FROM quotes WHERE approved=1 ORDER BY rand() LIMIT 1 "); while ($quote = $DB_site->fetch_Array($result_quote)) { $randomquote[quoteid] = $quote[quoteid]; $randomquote[quote] = $quote Quote:
eval('$navbar = "' . fetch_template('navbar') . '";'); |
All times are GMT. The time now is 07:07 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:
|