![]() |
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> Code:
<tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="colorcode.php$session[sessionurl_q]">$vbphrase[user_color_code]</a></td></tr> There are no screen-shots. - I could not figure out how to make them collapse. Maybe someone can help with that. |
Scrrenshots ?
|
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. |
sorry extrem unfriendly :( screenshtos are take 1 minute to make it....
|
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. |
Quote:
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 |
thank you. I'll begin working on it at midnight Middle Eastern time. So people will not have to add this.
|
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.... |
Thank you Jase. It's quite as of the moment...giving me some time to catch up on learning how to code.
|
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. |
Quote:
|
After you modify it. Any way, I could see what you have done. I didn't want to use it the way I'm using it now. I wanted to be a small chart off to the side of the edit profile page. But like I said. I'm really shakey with coding. The military take to much of my time away from it.
|
Yes:
This line: Code:
eval('print_output("' . fetch_template('color') . '");'); Same goes with: Code:
$globaltemplates = array( Code:
define('THIS_SCRIPT', 'color'); Quote:
HTML Code:
<tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="colorcode.php$session[sessionurl_q]">$vbphrase[user_color_code]</a></td></tr> HTML Code:
<if condition="$show['customizelink']"><tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="colorcode.php$session[sessionurl_q]">$vbphrase[user_color_code]</a></td></tr></if> |
No, thank you. You are the one that help me figure out what was wrong, I was doing an idea, instead of asking. Besides, this task seemed fairly easy. It didn't take long at all.
|
Hehe. I'm actually working on a neater layout, and have a pretty good one so far. Just need to finish it off and add some border lines ect.
I will then pass you a screenshot. :) |
Thank you very much :)
|
hey stranger ;).. this is nice. i'll give this a try asap
|
Sup Rapsearch. I"m working on changing the layout a little bit more. To make it open in a popup instead of going to a different page.
|
Hey folks - I'm new to VB, at least this portion of it.
I'm not sure what contents to put into the new Color Code template. |
Im really looking forward to this mod. Will make things a lot easier....
|
Wow this seems very useful, I look forward to it once it has a popup :)
|
Sorry. I've had this done for awhile now. But, like I said. I'm in the war zone right now. Soon as I get a chance, I'll upload it.
|
Quote:
Also, how to incorporate this into main post editer (without having to manually edit -> COLOR="#990099")? Hummm . . . Thanks! |
Silly Rabbit. After my last post, I took this into consideration. So what I'm attemping to do now is just that. Vbulletin has this already, but to me the color box's are small and limited. So I'm back to the drawing board. I know it says unsupported but I am working on updating this and making it better.
|
Seems I'm having an issue. I got the new template created, the new Phrase, and dumped colorcode.php in.
I can see the Color Chart on the profile page, and when I click it, it opens colorcode.php, but the contents are blank. What am I doing wrong? |
All times are GMT. The time now is 05:20 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|