Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 11-30-2000 Last Update: Never Installs: 0
 
No support by the author.

I would like to add a black flat border to all the tables of my v1.1.4 board. Is there a way to add them all in one operation?

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-30-2000, 08:03 AM
Guest
 
Posts: n/a
Default

I'm afraid not.

Take a look at this thread how to do it:
http://www.vbulletin.com/forum/showt...?threadid=4998


This should be solved in the upcomming vB version 2.0.
Reply With Quote
  #3  
Old 11-30-2000, 08:09 AM
Guest
 
Posts: n/a
Default

Tnx for the info.
Hope they'll improve all the styles like on UBB...
Reply With Quote
  #4  
Old 11-30-2000, 05:14 PM
Guest
 
Posts: n/a
Default

You can create replacement variables in vBulletin. Create one for each of the colors you want to change and then you can put those variables in the templates.

If you ever decide to change them again, you only have to change in one place.

That is how I set everything up.
Reply With Quote
  #5  
Old 11-30-2000, 06:32 PM
Guest
 
Posts: n/a
Default

Er... I'm not really PHP experienced so couldn't you please publish them here if possible?
Tnx anyway for the tip.
Reply With Quote
  #6  
Old 11-30-2000, 06:42 PM
Guest
 
Posts: n/a
Default

No PHP involved...

Go into your Admin Control Panel. Scroll down on the left until it says "Replacement Variables", Click on Add. Then Type what you want to replace say {tablebackground} in Box #1 then what it should be replaced with say #000000 in box #2. Then in all of your templates just put {tablebackground} where ever you want the background to be black.

You can make as many as you want, to simplify your life.
Reply With Quote
  #7  
Old 11-30-2000, 06:42 PM
Guest
 
Posts: n/a
Default

I didn't realize this could be done that way.
Pretty good hint. Thanks for sharing it with us.
Reply With Quote
  #8  
Old 11-30-2000, 06:46 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by wluke
No PHP involved...

Go into your Admin Control Panel. Scroll down on the left until it says "Replacement Variables", Click on Add. Then Type what you want to replace say {tablebackground} in Box #1 then what it should be replaced with say #000000 in box #2. Then in all of your templates just put {tablebackground} where ever you want the background to be black.

You can make as many as you want, to simplify your life.
Yeah, very easy indeed.
Tnx again!
Reply With Quote
  #9  
Old 11-30-2000, 07:05 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by PeF
I didn't realize this could be done that way.
Pretty good hint. Thanks for sharing it with us.
When I started working with vBulletin, I was the same way many people in these forums are. I didn't know PHP. I had read a few tutorials and bought a book but never got around to learning the language.

In order to make the changes I wanted, I spent several days playing around in the control panel and learning what I can do. I found out that 95% of everything can be handled here by using the tools they offered.

While working with the templates I discovered these weird tags <normalfont>, <smallfont> and {tableheadbgcolor} among them. These got my curiosity up. They didn't appear in the code so something had to be replacing them. I looked through the code but couldn't find anything since I didn't know PHP. I then looked through the control panel and found the replacement variables. This is when my life simplified.

I still use them even though I am learning more PHP every day and can code in it fairly proficiently now (not as good as Ed, Stallion or Freddie yet though ). Even looking at incorporating similar features on other projects. As it is right now all but one page (Chat) in the SitePoint community is generated from templates and replacement variables stored in the database. That last page will be added this weekend.
Reply With Quote
  #10  
Old 12-02-2000, 05:08 PM
Guest
 
Posts: n/a
Default

I hope this will finally be added to vbulletin 2.0..

Its a big hassle having to change almost ALL the templates to add this..


Also i hope they add the <body..> info to the templates after you posted/changed/edit etc something

Ahwell I'll just wait and see
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04235 seconds
  • Memory Usage 2,260KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete