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)

Jase2 04-30-2008 06:52 PM

Quote:

Originally Posted by preech
I put the link for the color code charts to only show when the adminstrator allows members to customize their profiles.

That doesn't seem to be the case with me. I will however have a look through the code tomorrow. :)

Preech 04-30-2008 06:53 PM

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.

Jase2 04-30-2008 06:59 PM

Yes:

This line:

Code:

eval('print_output("' . fetch_template('color') . '");');
I've just changed to the word 'color'.

Same goes with:

Code:

$globaltemplates = array(
    'color',

And:

Code:

define('THIS_SCRIPT', 'color');
Then name your template 'color' so that it can fetch the correct template.
Quote:

Originally Posted by preech
I put the link for the color code charts to only show when the adminstrator allows members to customize their profiles.

For this to work, you need to change:
HTML Code:

<tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="colorcode.php$session[sessionurl_q]">$vbphrase[user_color_code]</a></td></tr>
To :

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>
When I've worked on a better layout, I will provide you with the updated files preech so that you can take a look and see what you think. It's good nonetheless -- I would never of thought of it, anyway hehe. :)

Preech 04-30-2008 07:01 PM

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.

Jase2 04-30-2008 07:08 PM

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. :)

Jasem 05-01-2008 10:21 AM

Thank you very much :)

rapsearch 05-02-2008 04:40 PM

hey stranger ;).. this is nice. i'll give this a try asap

Preech 05-02-2008 04:47 PM

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.

odln018 05-08-2008 12:45 PM

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.

nightbloom 05-09-2008 06:27 PM

Im really looking forward to this mod. Will make things a lot easier....


All times are GMT. The time now is 02:56 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
  • Page Generation 0.01051 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)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