vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   End-User Options - GTUserCP - Enhanced USERCP Interface + USERCP Menu (https://vborg.vbsupport.ru/showthread.php?t=136321)

obmob 02-15-2008 02:29 AM

Should come out in the next weeks, they are already in beta 5 :eek:

SpreadingLight 02-15-2008 04:19 AM

[S]I can't find this, from the README:

<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>


in navbar. I can only find vbmenu_control in FORUMDISPLAY and SHOWTHREAD.

Where is it accessed at navbar?[/S]

edit: The navbar I figured out. Somehow it got deleted from one of my styles.


Also, the images aren't displaying.

Justine 02-15-2008 12:49 PM

copy this image to your misc/ folder

https://vborg.vbsupport.ru/attachmen...1&d=1200518296

SpreadingLight 02-15-2008 02:06 PM

Thank you, that displays.

Would you happen to have the compatible folder images also?

Justine 02-15-2008 02:14 PM

there in the zip file

SpreadingLight 02-15-2008 02:20 PM

I uploaded them again and they are not showing still. The issue is the Styles, because they work fine in the Plain style.

add: That was it. The files needed to be added to the images/misc folders within the custom Style folders.

Thank you for your help.

SpreadingLight 02-19-2008 12:20 PM

My site has navbar as part of the header, and Search drop-down works in firefox, but not on IE. GTU combines them for the header navbar, and navbar in IE. Any fix for this?

Thanks for the mod :D

SpreadingLight 02-19-2008 01:00 PM

Quote:

Originally Posted by helldorado (Post 1313943)
Installed on 3.6.8 and it works nicely. Thank you very much!

Also, I made an enhancement for my site that was pretty easy to do. I added two links for users to display all their own posts, and all their own threads. A modification of the links from the public profile.

http://www.projectforwardmotion.com/...dropdown_3.jpg

The code is pretty simple. Add it before the </table> html in the navbar template.

Code:

        <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$bbuserinfo[userid]" rel="nofollow">$vbphrase[display_your_posts]</a></td></tr>
        <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$bbuserinfo[userid]&amp;starteronly=1" rel="nofollow">$vbphrase[display_your_threads]</a></td></tr>


Note, you'll need to create two new global phrases for this code to work as drop-in.
display_your_posts and display_your_threads. Otherwise, I think you can enter in straight text if you're not worried about phrases or language support.

This is one of my first self code changes, so if any of the experts see where the code should be better, appreciate the input!


This is really help addition also. Thanks!

both installed

CoryNickerson 02-20-2008 01:14 PM

I have my navigation bar in the header. Thats where I store my user cp link. I'm not sure why but the following which you have to insert causes an error to be found with firebug.

PHP Code:

        <script type="text/javascript"vbmenu_register("usercpoptions"); </script


CoryNickerson 02-20-2008 01:16 PM

I have my navigation bar in the header. Thats where I store my user cp link. I'm not sure why but the following which you have to insert causes an error to be found with firebug.

PHP Code:

        <script type="text/javascript"vbmenu_register("usercpoptions"); </script

firebug says this.

Quote:

this.controlobj has no properties
init_control(undefined)vbulletin_menu.js (line 159)
vB_Popup_Menu("usercpoptions", undefined, undefined)vbulletin_menu.js (line 136)
register("usercpoptions", undefined, undefined)vbulletin_menu.js (line 76)
vbmenu_register("usercpoptions", undefined, undefined)vbulletin_global.... (line 1547)
[Break on this error] this.controlobj.state = false;
vbulletin_menu.js (line 159)


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