![]() |
Nice hack. Installed it on my testsystem and its running fine.
Looking forward to verison 2. :) |
My members are loving this hack and having great fun adding quotes.. One feature they did request was that It showed up the name of the member who submitted the quote.. I`ll be adding this myself on my installation but thought it might be a nice addition for the official version, maybe with an admin on/off option??
|
Quote:
|
Quote:
Code:
$result_quote = $DB_site->query(" |
v1.0 -> v1.1 UPGRADE INSTRUCTIONS
1. Download the quoteit1.1.zip from the first post, and upload the new quotes.php to your forum ROOT directory. 2. Run the following SQL query (or, you can insert the following phrase manually into the GLOBAL category): [SQL] INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'view_all_quotes', 'View All', 1); [/SQL] 3. Edit the randomquote TEMPLATE: Find: HTML Code:
<if condition="$bbuserinfo['userid']">(<a href=$vboptions[bburl]/quotes.php?do=addquote>$vbphrase[add_a_quote]</a><if condition="$bbuserinfo['permissions']['adminpermissions']"> | <a href="$vboptions[bburl]/quotes.php?do=delquote"eid=$randomquote[quoteid]">$vbphrase[delete_this_quote]</a></if>)</if> HTML Code:
<if condition="$bbuserinfo['userid']">(<a href=$vboptions[bburl]/quotes.php?do=addquote>$vbphrase[add_a_quote]</a><if condition="$bbuserinfo['permissions']['adminpermissions']"> | <a href="$vboptions[bburl]/quotes.php?do=delquote"eid=$randomquote[quoteid]">$vbphrase[delete_this_quote]</a></if> | <a href="$vboptions[bburl]/quotes.php?do=list">$vbphrase[view_all_quotes]</a>)</if> TEMPLATE: quote_listquote HTML Code:
$stylevar[htmldoctype] HTML Code:
<table class="tborder" cellpadding="3" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center"> |
"this is a test" ( | | )test quote <-- is what i see. No username and no link to submit or display all quotes :(
|
Quote:
|
Does anyone know why I get this error message on the indexpage?
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /usr/home/sites/xxxxxx/www/forum/index.php(115) : eval()'d code on line 19 Parse error: parse error, expecting `']'' in /usr/home/sites/xxxxxxx/www/forum/index.php(115) : eval()'d code on line 19 |
Quote:
|
Quote:
|
All times are GMT. The time now is 01:13 AM. |
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:
|