vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [release] Cool Quotes (https://vborg.vbsupport.ru/showthread.php?t=86467)

filburt1 03-02-2003 10:00 PM

[release] Cool Quotes
 
Author: filburt1
Description: completely redone version of the [quote] tag. Relies heavily on CSS.
Screenshot: attached

Thank god for CSS.

Dan 03-02-2003 11:18 PM

nice..... may install it later

Good job filburt!

Vladdy 03-03-2003 01:22 AM

Ok I am brain-farting here (lack of sleep :D) where am I running this query?

Dan 03-03-2003 01:32 AM

try in phpMYadmin into your vb database as usual....... If this is what I think your doing -hasn't actualy opened the txt file-

filburt1 03-03-2003 01:38 AM

There's also a link in my sig (query runner) which lets you run a query.

Tony G 03-03-2003 03:57 AM

Nice mod filbie, may install actually. :)

Buddha 03-03-2003 08:33 PM

****, that looks great.

Sephiroth32 03-04-2003 12:37 AM

it looks nice, but I think I will stick with saintdog's mod

Buddha 03-04-2003 12:52 AM

will that querry affect saintdog's quote mod?
that's what i currently use.
i wouldn't mind giving yours a shot, but not if it will screw up the current quotes setup i have.
(sorry if this sounds ridiculous, but i've not familiar with querries so don't know what this one will do.)
thanks in advance.

also, can this be set up instead as a seperate vb code.
so you'd still have the regular quotes, but then you could use this as - i don't know - special quotes.
kinda like having php or code vbcode.

Convergys 03-04-2003 01:43 PM

I applied this after using SaintDog's, and nothing bad has happened...

The only question I have filburt1, if you have time.. How do you change the colours to use a replacement... Is that possible? For example.. I am trying to get the 2 sides to be the Tablehead background colour, but when I put in {tableheadbgcolor} for everything.. it doesn't work.. Is it possible for that to happen? When I replaced all the hex codes with {tablebgcolor} all that happened was the 2 sides turned a blue color... lol...

Thanks for the nice mod...

filburt1 03-04-2003 01:44 PM

When I was creating it I tried to do just that, but it seems that you can't use replacements in custom BB codes, annoyingly enough.

Convergys 03-04-2003 01:45 PM

Multiple styles will be interesting....

filburt1 03-04-2003 01:47 PM

I gave up on maintaining multiple styles last January :p

Sorry but I don't believe anything can be done short of hacking.

filburt1 03-04-2003 01:48 PM

Quote:

Originally Posted by Buddha
will that querry affect saintdog's quote mod?
that's what i currently use.
i wouldn't mind giving yours a shot, but not if it will screw up the current quotes setup i have.
(sorry if this sounds ridiculous, but i've not familiar with querries so don't know what this one will do.)
thanks in advance.

also, can this be set up instead as a seperate vb code.
so you'd still have the regular quotes, but then you could use this as - i don't know - special quotes.
kinda like having php or code vbcode.

Yes you can make this a separate tag, like [prettyquote], but when you quote a post the default quote tag will be used instead, obviously.

Buddha 03-04-2003 04:40 PM

would i then have to run the querry to use this as a different vb code?

oh, and thanks.

filburt1 03-04-2003 04:43 PM

All the query does is allow you to have longer BB code replacements because this one exceeds the default 200 characters.

Smoothie 03-04-2003 05:52 PM

Will changing the vb code replacement affect how past quotes are displayed, or will it only affect new quotes?

filburt1 03-04-2003 06:36 PM

It should affect past ones.

Buddha 03-04-2003 10:57 PM

Quote:

Originally Posted by filburt1
All the query does is allow you to have longer BB code replacements because this one exceeds the default 200 characters.

thanks for the info filburt1.
i'll give it a shot then!

Smoothie 03-05-2003 02:24 AM

Quote:

Originally Posted by filburt1
It should affect past ones.

You are correct.

Buddha 03-05-2003 10:08 PM

Quote:

Originally Posted by Convergys
Multiple styles will be interesting....

all you have to do is change the class in the td's, so that it points to a class that you've added to your main css... you should have as many css files as you have styles, so that you can easily change them.

know what i mean?

filburt1 03-05-2003 10:10 PM

No because I hardcoded the CSS instead of making it refer to classes to make it easier to install.

Buddha 03-06-2003 01:59 PM

Quote:

Originally Posted by filburt1
No because I hardcoded the CSS instead of making it refer to classes to make it easier to install.

i changed it to point it to a linked css instead so that i can modify it as i want for different styles.

i agree that hardcoding it like you did makes it easier for users to install, but i was just offering the tip for anyone who would like to be able to change the style.

by the way, i love the look of it filburt1. good idea!

SaintDog 03-06-2003 02:01 PM

Not bad at all :) - I like that rather much and may just have to get it working here :).

SaintDog 03-06-2003 02:08 PM

Seems to work great with vBulletin 3.0, you don't have to run the query as it is already set to the query result by default :)

filburt1 03-06-2003 02:39 PM

Quote:

Originally Posted by Buddha
i changed it to point it to a linked css instead so that i can modify it as i want for different styles.

i agree that hardcoding it like you did makes it easier for users to install, but i was just offering the tip for anyone who would like to be able to change the style.

by the way, i love the look of it filburt1. good idea!

Good idea, thanks, will use the concept in future mods :)

filburt1 03-06-2003 02:39 PM

Quote:

Originally Posted by SaintDog
Seems to work great with vBulletin 3.0, you don't have to run the query as it is already set to the query result by default :)

It's missing the username though. I think you have to specify the {param} or {option}, whichever one it is.

Buddha 03-06-2003 02:43 PM

for anyone interested, here's what i did.
filburt1, hope you don't mind me posting this... if you do, just say the word and i'll delete this (or better yet, you delete it... lol).

Edit: Attachment added for ease of viewing all posts.

that way, you can change the css to whatever colors you like for each stylesheet that corresponds to different styles. i named it mycooltable just cause it was easier just to grab the code from saintdog's quote mod which was in my stylesheet. you can name it whatever you want. i also made the quotations just a smidge smaller. anyway, there it is.

edit:
i also changed the colors so that you didn't get that framed look... if you like that look, it's easy to mess with the colors to get it through the css. if you want, i can post that. i just thought it looks better when it's all the same.

SaintDog 03-06-2003 02:44 PM

Yeah, option was left out, that will be fixed now :)

SaintDog 03-06-2003 02:51 PM

All fixed :)

filburt1 03-06-2003 02:53 PM

Testing it with no option:
Quote:

Stuff
...

Buddha 03-06-2003 03:06 PM

fyi, i didn't create the class for the quotes, as i am not using this as a replacement for quotes like it was designed, but rather as a cool quotes type of vB code to use only occasionally... so i wasn't worried about conserving kb's... otherwise, i'd add the class in the div to the stylesheet as well. just a thought, because in a page with many quotes, that can add to the overall page size.

Edit: Added attachment for ease of viewing


edit:
had to actually add two css entries to seperate the top and the bottom as they have different heights. sorry. this works though, as i've changed mine over and it's all good. even added it to the vbcode language java file and vbcode buttons template, so users can either select regular quotes or the cool ones.

SaintDog 03-06-2003 03:09 PM

Ok.....now they both should be working, the darn system will not allow quote to be set to yes and yes so I had to delete one of them and re-add it back and set it to no.

Anyway, point being, both should now work :)

Buddha 03-06-2003 03:11 PM

Quote:

Originally Posted by SaintDog
Ok.....now they both should be working, the darn system will not allow quote to be set to yes and yes so I had to delete one of them and re-add it back and set it to no.

Anyway, point being, both should now work :)

testing cool new quotes.


edit:
good work, dog.

SaintDog 03-06-2003 03:12 PM

Ah, cool :)

I just have to work on porting all the template mods from 2.x.x to 3.0 and I will be good to go :)

Mr. X 03-07-2003 04:17 AM

How do make the quoted text font size smaller?

omega buster 03-07-2003 08:31 AM

Quote:

Originally Posted by Mr. X
How do make the quoted text font size smaller?

just change the <normalfont> and </normalfont> to <smallfont> & </smallfont> :)

SaintDog 03-07-2003 08:38 AM

Well, smallfont and normalfont are phased out in vBulletin 3.0 so I used:

<font style="font-size: 10px;">{param}</font>

Of course, you can adjust that to your specifications.

Boofo 03-07-2003 12:19 PM

Quote:

Originally Posted by SaintDog
Well, smallfont and normalfont are phased out in vBulletin 3.0 so I used:

<font style="font-size: 10px;">{param}</font>

Of course, you can adjust that to your specifications.

Great Mod, filburt. ;)

If anyone is interested, I also made the PHP and CODE boxes (with PHP and CODE where the quotes are) using the code form this Mod. It turned out fantastic. Thanks again.

Boofo 03-07-2003 05:36 PM

I'm running into a strange problem here. The quote box works great. It's just that I have an extra space under the quote box now. The only way to get rid of it is to run the text all together. Did I miss something somewhere? I checked the quotereply and it is the same as before. Anyone have any ideas?


All times are GMT. The time now is 08:02 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.01231 seconds
  • Memory Usage 1,817KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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