vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   The Ultimate Quote Hack!! (https://vborg.vbsupport.ru/showthread.php?t=38906)

Mathiau 07-07-2002 06:30 PM

hey all

i simply put my quotes in a table, and the words wrap with no probs!

working on adding this add-on to it now :D

http://66.207.199.6/forums/index.php

http://66.207.199.6/matts%20stuff/quotes.gif
(hhe, keep posting that, took me forever to figure out how to make a simple table..lol still a rather newbie to this php stuff)

Code:

<!-- quotes panel -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000"  width="95%"

align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0"  width="100%"> 
<tr>
       
        <table cellpadding="4" cellspacing="1" border="1"  width="100%">
<tr id="cat">
        <td bgcolor="#6D1F15" colspan="" border="1" bordercolor="#42130D" width="50%" align="center"> <normalfont color="#FFF788"><b>Random Quotes
</font></b></a></td></normalfont>
</tr>
<tr>
                <td bgcolor="#F1F1F1" colspan="5">
<font face="verdana,arial,helvetica" size="2" align="center" >
<center>
$thequote<br>
$thequoter<br>
</center>
</font>
</td>
</tr>
</table>
</td></tr></table>
<!-- end quotes panel  -->


KuraFire 07-17-2002 08:15 PM

Night Owl, you can just change the permission check in quotelist.php so that ALL users can add quotes, y'know :)

Night Owl 07-18-2002 12:05 AM

aha! Duh. Thank you!. :lol

ForKmaN 07-22-2002 08:45 AM

I was wondering what I need to do to make it so people can see that others are browing the Quotes when they look at the 'Whoose Online' ???

Please? :D

ForKmaN 07-22-2002 09:16 AM

Also, can we make it so its not in Alphabetical order? But isntead in the order they were submited and added?

ForKmaN 07-22-2002 10:13 AM

Heres how i have it setup on my forums.

Combined with the Welcome Panel Hack.

KuraFire 07-22-2002 06:58 PM

Forkman: yes, all is possible.

For making it so that the Who's Online shows it when users are looking at the Quotes List, use FireFly's excellent "Add Who's Online Locations from your Admin Panel" hack - I'm using that and it works great with the quote list.

For making the default order go by ID rather than alphabetical, just find this bit of code (around line 92 in the default quotelist.php):

PHP Code:

  if ($orderby=="") {
    
$orderby="letter,name";
  } 

And replace "letter,name" with "id". That way it'll sort by ID by default. If you want to reverse the order from what you get now, look at the three lines below these in quotelist.php, for they will define your default ORDER DIRECTION.

G'luck! :up:

ForKmaN 07-23-2002 05:06 AM

Thank ye!

Works a charm, where is Fireflys hack? I cant seem to find it .. :(

ForKmaN 07-23-2002 05:24 AM

Found it! :)

Works Well!
Excellent hack!

speedway 09-30-2002 01:35 PM

If anybody is watching this thread I have a question.

What would be the easiest way to add "[All]" to the letter list? I ask because if you select a letter you cannot get back to the entire listing without clicking the link to get to the list in the first place. It would be much easier to use an "all" link.....

Any ideas? :ermm:

Cheers


All times are GMT. The time now is 11:47 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.03012 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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