vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Profile Enhancements - Color Code Chart (https://vborg.vbsupport.ru/showthread.php?t=177616)

Preech 04-29-2008 10:00 PM

Color Code Chart
 
This template modification shouldn't have any problems working with any version of vBulletin 3.7.x. Now, let's be honest. I don't own a vBulletin at all or a website anymore. I am deployed to Iraq, no time. One of the site's that I frequent to often allows it's user's to use the profile customization feature. I tend to create different looks for my fellow members of this site. I got tired of searching google for the color codes, so I decided to create a really quick page, that members can access from your site.

I used the HowTo create your own vBulletin-powered page! (uses vB templates) to create this. So thanks, and credits go to Gary King for that.
- I put the link for the color code charts to only show when the adminstrator allows members to customize their profiles.

Manually Edit: 1 - 2 mintues
File Edits: 0
File Added: 1
Template Edits: 1
Template Added: 1

Upload:
- colorcode.php to main forum directory.
- Create a new template titled Color Code and insert the contents.

Creat a new phrase:
- Insert into master language: Yes
- Phrase Type: Global
- Product: vBulletin
- Varname: user_color_code
- Text: Color Chart

Open User Control Panel Templates > UserCP Shell
- Search for:

Code:

<if condition="$show['customizelink']"> <tr><td class="$navclass[customize]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></td></tr>
- Underneath Add This:
Code:

<tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="colorcode.php$session[sessionurl_q]">$vbphrase[user_color_code]</a></td></tr>
Save and that's it.
There are no screen-shots.
- I could not figure out how to make them collapse. Maybe someone can help with that.

codershark 04-30-2008 03:33 PM

Scrrenshots ?

Preech 04-30-2008 03:38 PM

I wouldn't mind giving you a screenshot Codershark. I'm in a very talked about area of the world right now. I'm working...unable to produce a screenshot at the moment.

But I did mention there where no screenshots.

codershark 04-30-2008 04:51 PM

sorry extrem unfriendly :( screenshtos are take 1 minute to make it....

Preech 04-30-2008 05:47 PM

There. Screenshots added. Real simple. Real easy. Any could have made this. How many of the websites created using vbulletin use this feature. The site I go to. The members didn't take the chances, just to much.

I'm working on making the tables smaller rested on the actually page. But I'm thinking a pop-up is more the way to go. Any ideas. I'm not a coder.

purepothead 04-30-2008 05:47 PM

Quote:

Originally Posted by codershark (Post 1503589)
sorry extrem unfriendly :( screenshtos are take 1 minute to make it....

Hmm... I guess he feels its more important to have a screenshot than terrorists invading his country, it will give new meaning to "extrem unfriendly".

Good work preech I may use later, and just ignore the iggnorants.


Edit: maybe this will help for a popup? http://www.htmlcodetutorial.com/link...amsupp_72.html

Preech 04-30-2008 05:58 PM

thank you. I'll begin working on it at midnight Middle Eastern time. So people will not have to add this.

Jase2 04-30-2008 06:32 PM

Thanks for this, Preech. This definitely helps users when customizing their profile.

codershark, how rude! Be considerate. If you wish to see what it looks like, install it on your test board. I think Preech has more things to worry about at the moment....

Preech 04-30-2008 06:41 PM

Thank you Jase. It's quite as of the moment...giving me some time to catch up on learning how to code.

Jase2 04-30-2008 06:47 PM

That's good mate.

I was getting a blank page, so I modified the .php file. I've attached the updated file. I named my template just 'color'.

It looks good anyway, so thanks. I will however be modifying the layout somewhat.


All times are GMT. The time now is 01:51 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.01178 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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