vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   QuoteIt! Quote Management System v1.2 (https://vborg.vbsupport.ru/showthread.php?t=62470)

Dolamite 03-27-2005 03:13 PM

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...

Dolamite 03-27-2005 05:49 PM

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....

Dark Aura 03-27-2005 06:42 PM

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*...

Dolamite 03-27-2005 06:49 PM

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....

Dolamite 03-27-2005 08:16 PM

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....

venomx 03-27-2005 08:22 PM

I have it working fine on 3.0.7

Try editing a phrase then saving it. You dont have to make changes.

Dolamite 03-27-2005 08:45 PM

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.....

Dolamite 03-27-2005 10:08 PM

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...

seangworld 03-28-2005 03:11 AM

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

Dolamite 03-28-2005 04:27 PM

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:

;
$randomquote[author] = $quote[author];
$randomquote[userid] = $quote[userid];
$randomquote[approved] = $quote[approved];
}
$DB_site->free_result($result_quote);

eval('$showrandomquote .= "' . fetch_template('randomquote') . '";');

}

eval('$navbar = "' . fetch_template('navbar') . '";');
that last bit is what finally did it for me:

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
  • Page Generation 0.01394 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete