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)

Azhrialilu 03-21-2004 05:03 PM

I did that and it didn't work...... but then I went out shopping.. and when I came back it was working .. go figure lol

Acido 03-24-2004 05:08 PM

Who's On Line Locations for Quote.php Functions:


in includes/functions_online.php

find:

PHP Code:

case 'bugs.php':
  
$userinfo['activity'] = 'bugs';
  break; 

Below add:

PHP Code:

case 'quotes.php':
  if (
$values['do'] == 'list')
  {
   
$userinfo['activity'] = 'listaquotes';
  }
  else if (
$values['do'] == 'addquote')
  {
   
$userinfo['activity'] = 'agregaquotes';
  }
  else if (
$values['do'] == 'delquote')
  {
   
$userinfo['activity'] = 'borraquotes';
  }
  break; 

Find:

PHP Code:

case 'modcplogin':
   
$userinfo['action'] = $vbphrase['moderator_control_panel_login'];
   break; 

Below add:

PHP Code:

case 'listaquotes'
            
$userinfo['action'] = '<a href="quotes.php?do=list">Quote List</a>'
            break;
  case 
'agregaquotes'
            
$userinfo['action'] = '<a href="quotes.php?do=addquote">Adding Quotes</a>';
            break;
  case 
'borraquotes'
            
$userinfo['action'] = 'Deleting Quotes';
            break; 

Done :squareeyed:
If you have skill, you can change the labels with custom phrases.
Hope Help ;)

magnus 03-24-2004 07:20 PM

Acido, awesome! I've gone ahead and added a link to this on the first page. :)

djohn 03-25-2004 12:42 PM

Thanks, Acido!
Magnus, will this be included in v.2?

Sal Collaziano 03-25-2004 02:03 PM

This is all I get (how do I add the first quote?):

""
( | | ) -

Ravenheart 03-25-2004 02:26 PM

You have to go into Phrases, select any of the quote phrases, edit it (don't touch the wording at all) and just click save. Worked for me.

magnus 03-26-2004 02:45 PM

Quote:

Originally Posted by djohn
Thanks, Acido!
Magnus, will this be included in v.2?

Yes.

VAN 03-30-2004 02:45 AM

How can this be added to the Header? I'd like it displayed on all pages, not just Forumhome. :)

magnus 03-30-2004 11:06 AM

Quote:

Originally Posted by VAN
How can this be added to the Header? I'd like it displayed on all pages, not just Forumhome. :)

Install the hack as normal, but instead of making changes to INDEX.PHP, make them to GLOBAL.PHP. Then, use $showrandomquote in your HEADER rather than FORUMHOME template.

VAN 03-31-2004 04:34 AM

Quote:

Originally Posted by magnus
Install the hack as normal, but instead of making changes to INDEX.PHP, make them to GLOBAL.PHP. Then, use $showrandomquote in your HEADER rather than FORUMHOME template.

Thats what I tried first, but it doesnt work. The only way I've been able to get it to work in the header is to paste the code from Step 1 into my phpinclude template.

BTW, I've managed to add in the things I mentioned in my suggestion post. If I get it cleaned up enough, I'll post it as an add-on. :)


All times are GMT. The time now is 08:40 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
  • Page Generation 0.01943 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_php_printable
  • (3)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