vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Home Enhancements - UserCP Link (Content, forum and blog) navbar dropdown (https://vborg.vbsupport.ru/showthread.php?t=232575)

abbasbsp 01-07-2010 10:00 PM

UserCP Link (Content, forum and blog) navbar dropdown
 
1 Attachment(s)
This modification aims to users easily find the user control panel settings, These modifications are placed in all respective navbar

the navbar vbcms, Blog and Download (if installed)
1. navbar vbcms
Styles & Templates > Style Manager > vBulletin CMS Templates > vbcms_navbar_link
FIND :
PHP Code:

<vb:if condition="$links"

2. Navbar Blog
Styles & Templates > Style Manager > Blog Templates > blog_navbar_link
FIND :
PHP Code:

<vb:if condition="$show['canpostitems']"

<<< There are two, take the top
3. Navbar Download (if installed)
Styles & Templates > Style Manager > Downloads Templates > downloads2_navbar_link
FIND :
PHP Code:

<ul class="floatcontainer"

4. the navbar at the forum
Styles & Templates > Style Manager > Navigation / Breadcrumb Templates > navbar
FIND :
PHP Code:

<vb:if condition="$show['searchbuttons']"

This code is 2, the lower and upper

all ADD code below :

PHP Code:

<li class="popupmenu" >
<
a href="javascript://" class="popupctrl">User CP</a>
<
ul class="popupbody popuphover">
<
li></li>
<
td class="thead">User ControlPanel</td>
                    <
vb:if condition="$show['pmmainlink']">
                        <
li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li>
                    </
vb:if>
<
vb:if condition="$show['member']">
<
li><a href="subscription.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase subscribed_threads}</a></li>
</
vb:if>
<
vb:if condition="$show['member']">
<
li>
<
a href="profile.php?{vb:raw session.sessionurl}do=editoptions">{vb:rawphrase edit_options}</a>
</
li>
<
li>
<
a href="profile.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase edit_your_details}</a>
</
li>
</
vb:if>
<
vb:if condition="$show['avatarlink']">
  <
li class="{vb:raw navclass.avatar}"><a href="profile.php?{vb:raw session.sessionurl}do=editavatar">{vb:rawphrase edit_avatar}</a></li>
</
vb:if>
<
vb:if condition="$show['siglink']">
  <
li class="{vb:raw navclass.signature}"><a href="profile.php?{vb:raw session.sessionurl}do=editsignature">{vb:rawphrase edit_signature}</a></li>
</
vb:if>
<
td class="thead">Miscellaneous</td>
<
li><a href="{vb:link member, {vb:raw bbuserinfo}}">{vb:rawphrase your_profile}</a></li>
<
vb:if condition="$bbuserinfo['userid']">
<
li><a href="profile.php?{vb:raw session.sessionurl}do=buddylist"><vb:if condition="$show['friends_and_contacts']">{vb:rawphrase contacts_and_friends}<vb:else />{vb:rawphrase contacts}</vb:if></a></li>
</
vb:if>
</
ul>
</
li

My Profile and Settings on the Haeder want to delete, please search the haeder Templete

if you want to see a more detailed demo, please visit http://indoglobal.us/forums/index.php
username : myvisit
password : tamusaya

semoga bermanfaat
enjoy aja lagi

Alecsmith 01-08-2010 08:13 PM

Very good job :)

abbasbsp 01-09-2010 06:13 PM

update 10-01-10

chloe101 01-09-2010 11:40 PM

This is awesome; very nice, clean job.

Installed & Nominated.

Thank you

chloe101 01-10-2010 06:19 AM

I'm stumped. How can I change the text color of the category bars in the pop-up menu? I can't for the life of me figure out where .thead needs to be editted.

I'm working against a dark background and need white font for only this partucular menu.
Do you have any suggestions?

abbasbsp 01-10-2010 06:30 AM

please ask for a screen shot, where the pop-ups that you mean

chloe101 01-10-2010 09:48 PM

1 Attachment(s)
Thanks. I want to change the wording for "Miiscellaneous" and "User Control Panel" to white instead of red.

Here's a screen shot:

abbasbsp 01-11-2010 05:37 AM

Quote:

Originally Posted by chloe101 (Post 1952327)
Thanks. I want to change the wording for "Miiscellaneous" and "User Control Panel" to white instead of red.

Here's a screen shot:

Code:

<li></li>
<font color="blue" size=3>
<td class="thead">User ControlPanel</td>
</font>
                    <vb:if condition="$show['pmmainlink']">

in bold can be changed itself

chloe101 01-11-2010 08:19 AM

Thank you! That worked beautifully for Miscellaneous but, for some odd reason, not for User ControlPanel. I posted the code exactly the same way
<font color="white" size=2>
<td class="thead">User ControlPanel</td> </font>
<font color="white" size=2>
<td class="thead">Miscellaneous</td> </font>
but only the first one changes.

Seriously, I'm so grateful for the mod and this help, that I can live with that but if you have any suggestions, or see a mistake I made, I'll be grateful but please don't spend time on this because I can just remove the first category (User ControlPanel).

Thanks so much for your help. I really appreciate this.

Firas S. 01-12-2010 06:47 AM

Seems to be nice :-)
Can you tell me how to enable the [Last login time] ?
It disappeared after upgrading to VB4

Thanks ichal

adembaba 01-13-2010 12:49 AM

Honestly, i don't really understand it. I am a noob in all of this.

So I have a forum only(not suite version). I have found the code(navbar forum) but what do i have to do with it?
Quote:

4. the navbar at the forum
Styles & Templates > Style Manager > Navigation / Breadcrumb Templates > navbar
FIND :
What do i have to with it after i found it? Do i have to delete it and put the other code in it?

Quote:

This code is 2, the lower and upper

I don't understand what you mean by this.:confused:

chrisvonc 01-13-2010 07:07 PM

Another wonderful mod, thank you! Works and looks great.

Quote:

Originally Posted by chloe101 (Post 1952564)
Thank you! That worked beautifully for Miscellaneous but, for some odd reason, not for User ControlPanel. I posted the code exactly the same way
<font color="white" size=2>
<td class="thead">User ControlPanel</td> </font>
<font color="white" size=2>
<td class="thead">Miscellaneous</td> </font>
but only the first one changes.

Seriously, I'm so grateful for the mod and this help, that I can live with that but if you have any suggestions, or see a mistake I made, I'll be grateful but please don't spend time on this because I can just remove the first category (User ControlPanel).

Thanks so much for your help. I really appreciate this.

If I understand you.. I had the same snag as well, until I remembered there is a second occurrence of each of those lines, in each of your templates you modified. You want to be sure to make the 2nd change lower down in each template.

Oracle simsim 02-12-2010 02:23 PM

there is a problem in the code and can be be fixed by removing each line begining with <td> tag

thank you

ndut 02-13-2010 11:26 PM

tag this mod

chloe101 12-10-2015 07:45 PM

Quote:

Originally Posted by chrisvonc (Post 1954756)
Another wonderful mod, thank you! Works and looks great.


If I understand you.. I had the same snag as well, until I remembered there is a second occurrence of each of those lines, in each of your templates you modified. You want to be sure to make the 2nd change lower down in each template.

Wow, just saw this message years later lol and want to thank you for having replied. Thanks


All times are GMT. The time now is 05:49 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.01234 seconds
  • Memory Usage 1,784KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete