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)

ragtek 06-13-2007 01:42 PM

search just for
Quote:

<a href="usercp.php$session[sessionurl_q]">
i think you have a img instead of the text
could it be?

Shazz 06-13-2007 03:15 PM

After reviewing the 16 pages, seemed like I couldn't find anyone else who had a problem on a new private message being in the usercp. I guess my style is custom that could be the problem. I just removed the whole section, works great now! :)

Nutz 06-13-2007 03:16 PM

Quote:

Originally Posted by ragtek (Post 1267660)
search just for
i think you have a img insteaf of the text
could it be?

Yea, and check in the header instead of the navbar.. as I think the nav code got moved up there in iSkin.

Thanks,
Mat

kingvillain 06-16-2007 09:55 AM

Thanks for this, appears to be working fine on my forum :)

hexus.net 06-16-2007 09:29 PM

yup, my new skin's been treated to it :)

Princeton 06-18-2007 11:40 AM

thanks for the update!
:D

Lord Omega 06-19-2007 01:52 AM

Very nice work! :)

Kaasie 06-19-2007 07:39 AM

very cool, thank you , this will be in use :)

santimariani 06-19-2007 09:49 PM

Quote:

Originally Posted by agitated (Post 1254706)
santimariani:

If you have a customized skin the edit may have to be applied to another template.
Suggest you have a look in your header or headinclude templates.
Also the code may have been modified, try a search in templates for $vbphrase[user_cp]

Agitated,

First of all, thanks for the help. I searched around, and found this in the navbar_link template:

<if condition="$show['breadcrumb']">
<span class="n$vbphrase[user_cp]avbar">&gt; <a href="$nav_url">$nav_title</a></span>
<else />
$nav_title
</if>

Since it had the user_cp in there, I replaced this whole thing, yet the mod is not working. Any other ideas? I am using the Chestnut Style, by the way. :)

agitated 06-20-2007 06:28 PM

santimariani:

In your Header template

Replace the entire block of code between <!--Options --> <!-- /Options -->
with the code below.

<!-- Options -->
HTML Code:

<if condition="$show['member']">
<td width="93">
<table width="93"  border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/bouton_options.gif);"><a href="$vboptions[bburl]/usercp.php$session[sessionurl_q]" rel="nofollow"
        onmouseover="JSFX.fadeIn('options')"
        onmouseout="JSFX.fadeOut('options')">
<img
        src="$stylevar[imgdir_misc]/bouton_options.gif" name="options"  width="93" height="40" border="0" class="imgFader" id="usercpoptions" alt="" />
</a><script type="text/javascript"> vbmenu_register("usercpoptions", true); </script></td>
</tr>
</table>
</td>
</if>

<!-- /Options -->

provided you have done everything else correctly, it will work.

agitated 06-20-2007 07:17 PM

chuchukuttie:

look in your header template.

Find <a href="usercp.php">

You will have to modify the code around this area because the style is using custom code.

You'll need to add id="usercpoptions" and also <script type="text/javascript"> vbmenu_register("usercpoptions"); </script>

Something similar to this.
<td id="usercpoptions" width="67" height="29"><a href="usercp.php"><img id="nav_cp" src="iSkin/misc/nav_cp.gif" width="67" height="29" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("usercpoptions"); </script></td>

ssslippy 06-21-2007 05:07 AM

Our forum was imported from phpBB, any recomendations on how to get these folders not to show.

Also this is conflicting with Inferno Technologies Shoutbox, any ideas?

Princeton 06-21-2007 01:02 PM

- you can rename folders OR
- edit the necessary templates OR
- revert the templates

I don't use Shoutbox so cannot say anything about it.

Saviour 06-23-2007 03:10 PM

Kudos!!!

If you were a woman...I'd kiss ya smack dab on the mouth!

Great hack...lovin' every minute of it! Clicked "Installed".

Princeton 06-25-2007 09:20 PM

wets lips ... just joking

if I was a woman I'd probably be running away right now :D

Saviour 06-25-2007 09:26 PM

Talk about a blow to my ego...:D

Anyhow...

I have one question...

I wanted to add a link to another hack I have, but when I do it ends up in the Quick Links Menu under the UserCP menu there...insted of the UserCP menu...from your hack.

Any suggestions?

Princeton 06-25-2007 09:44 PM

I'm guessing you are adding it to the wrong menu ... look for
HTML Code:

id="usercpoptions_menu"
and add the links there

Saviour 06-25-2007 09:59 PM

Thanks...

That did it! Kudos for the quick replies! I appreciate it...

Princeton 06-29-2007 01:59 AM

Please stop asking... ;)

I'll be releasing the private message quick reply and the private message postbit display modification SOON. This will be released in 2 separate modifications.

No template edits necessary.

The pm postbit display will have it's own class file.

ssslippy 06-29-2007 02:08 AM

Awesome to hear you are releasing all this great stuff to the community!

Ohiosweetheart 06-29-2007 02:40 AM

Quote:

Originally Posted by Princeton (Post 1278860)
...... I'll be releasing the private message quick reply and the private message postbit display modification SOON. This will be released in 2 separate modifications.

No template edits necessary.

The pm postbit display will have it's own class file.

I'm looking forward to those ^!

I love this userCP hack - my members comment on it alot.

Princeton 06-29-2007 03:01 PM

I'm glad to hear that ..
thank you for the feedback - it's always appreciated.

cheat-master30 06-29-2007 03:08 PM

Quote:

Originally Posted by Princeton (Post 1278860)
Please stop asking...

I'll be releasing the private message quick reply and the private message postbit display modification SOON. This will be released in 2 separate modifications.

No template edits necessary.

The pm postbit display will have it's own class file.

Since I liked this modification, and the PM modification, and the announcement glowing modification and the posting rules one, I will be sure to install the private message quick reply modification, as it would then make PMs as powerful in options as topics/posts, since I already use the PM search modification someone made.

Brandon Sheley 07-05-2007 06:24 PM

Just added this hack, thanks :)

brnoe 07-05-2007 10:11 PM

Awesome mod, makes things a bit easier to access all in one menu.

pureturk 07-09-2007 07:49 AM

here are the problems I m having with this mod. both with IE and Firefox

IE
http://img167.imageshack.us/img167/3668/hjjgdl7.th.png

firefox
http://img184.imageshack.us/img184/9292/ukjkqf0.th.png

for some reason the tree image does not appear at all on firefox and shows an error for IE.
any ideas?

ragtek 07-09-2007 07:54 AM

ff isn't showing if a image havent been found
look in ie at the path where the image is being search and copy it there

many many users have updatet to 3.6.6 and there is one new graphic and one is renamed(so on 40% of vbulletins there is a image missing in the navbar,...)

pureturk 07-09-2007 08:01 AM

Quote:

Originally Posted by ragtek (Post 1286536)
ff isn't showing if a image havent been found
look in ie at the path where the image is being search and copy it there


what is ff?
and where exactly do i copy the image path?

pureturk 07-09-2007 08:05 AM

ok i figured out what you said . thank u very much for your help

ragtek 07-09-2007 08:05 AM

ff=> firefox

look if you have:
tree_t.gif and tree_l.gif in your misc folder!

slyreptile 07-10-2007 01:56 AM

Excellent mod. Thanks for sharing!

ltd 08-07-2007 06:00 PM

Working fine on 3.6.8 now

Princeton 08-07-2007 07:07 PM

thanks for the update .. you may want to click INSTALL to receive future modification updates

ltd 08-09-2007 02:51 AM

Quote:

Originally Posted by Princeton (Post 1312113)
thanks for the update .. you may want to click INSTALL to receive future modification updates

Oops, I forgot actually :)

helldorado 08-09-2007 08:23 PM

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.

https://vborg.vbsupport.ru/

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!

Dannyloski 08-09-2007 10:40 PM

^ Pretty nice idea ... I added it :up: for you ...

nnjj.net 08-12-2007 11:07 AM

works great but small problem in style of subscribed_threads

vmacedonia 08-13-2007 10:55 AM

Why when I add new option in the menu always the first item isn't displayed properly at the main forum page?

For illustration I have two pictures, the first picture is from the main forum page, the second is from the menu what is displayed inside the UserCP.

Here is the code what is modified:

Code:

<if condition="$show['popups'] AND $show['member']">
<div class="vbmenu_popup" id="usercpoptions_menu" style="display:none">
    <table cellpadding="4" cellspacing="1" border="0">       
    <tr><td class="thead" align="$stylevar[left]"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>   
    <if condition="$show['pmstats']"><tr><td class="vbmenu_option" align="$stylevar[left]"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
    <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
    <if condition="$show['siglink']"><tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
        <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td></tr>
    <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
    <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
        <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr>
    <tr><td class="thead" align="$stylevar[left]">$vbphrase[miscellaneous]</td></tr>
    <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
    </table>
</div>
</if>

The problem is in the "$vbphrase[edit_email_and_password]", even with a custom phrase the problem exist. It's working correctly only if I replace that phrase directly with some text.

Code:

<tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editpassword">TEST ITEM</a></td></tr>

Doesn't matter what option is first, "do=editavatar", "do=editprofile", "do=editpassword", etc. always the text from the phrase doesn't appear.

Princeton 08-13-2007 12:20 PM

set the phrase to GLOBAL

click "mark as installed" to get future update notifications

Roxie 08-15-2007 02:23 AM

It looks like replacing the usercp shell will delete any template hooks? Is this correct?


All times are GMT. The time now is 01:08 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.01623 seconds
  • Memory Usage 1,835KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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