Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2002, 06:10 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi!

I want (like here) the avatar link in my User CP

I added:
<td bgcolor="$cpnav[3]"><smallfont><b><a href="member.php?s=$session[sessionhash]action=editavatar">Avatar</a></b></smallfont></td>

in template: usercpnav

but this doesn´t work!

What do I have forget??

And when I continue the bgcolor="$cpnav[3]"> nr [3] then the last one [8] has not the right bgcolore anymore!

Greetings

StarBuG
Reply With Quote
  #2  
Old 01-13-2002, 11:29 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump
Reply With Quote
  #3  
Old 01-14-2002, 07:16 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Common Folks!

Plz help me!

That can´t be so hard to code!

Greetings

StarbuG
Reply With Quote
  #4  
Old 01-14-2002, 09:03 PM
Konqueror Konqueror is offline
 
Join Date: Dec 2001
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you really added
<td bgcolor="$cpnav[3]"><smallfont><b><a href="member.php?s=$session[sessionhash]action=editavatar">Avatar</a></b></smallfont></td>
then I think you're missing an &... It should be
<td bgcolor="$cpnav[3]"><smallfont><b><a href="member.php?s=$session[sessionhash]&action=editavatar">Avatar</a></b></smallfont></td>

Also the bgcolor doesn't work correctly here... When you click on "Avatar", "Options" is marked instead. Make sure to change all the numbers after the place you insert the new option to get the correct results.
Reply With Quote
  #5  
Old 01-14-2002, 09:40 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK! The Link works now! Argg I was stubid! hehe

But the color is still wrong and you are right options is marked!

Here is the whole template (in german sorry!)

PHP Code:
<table cellpadding="0" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextrawidth="{contenttablewidth}" align="center"><tr><td>
<
table cellpadding="4" cellspacing="1" border="0" {tableinnerextrawidth="100%">
<
tr align="center" valign="bottom">
        <
td bgcolor="$cpnav[1]"><smallfont><b><a href="usercp.php?s=$session[sessionhash]"><nobr>Mein vB Home</nobr></a></b></smallfont></td>
        <
td bgcolor="$cpnav[2]"><smallfont><b><a href="member.php?s=$session[sessionhash]&action=editprofile">Profil bearbeiten</a></b></smallfont></td>
        <
td bgcolor="$cpnav[3]"><smallfont><b><a href="member.php?s=$session[sessionhash]&action=editoptions">Einstellungen bearbeiten</a></b></smallfont></td>
        <
td bgcolor="$cpnav[4]"><smallfont><b><a href="member.php?s=$session[sessionhash]&action=editavatar">Avatar</a></b></smallfont></td>
        <
td bgcolor="$cpnav[5]"><smallfont><b><a href="member.php?s=$session[sessionhash]&action=editpassword">Kennwort ?ndern</a></b></smallfont></td>
        <
td bgcolor="$cpnav[6]"><smallfont><b><a href="member2.php?s=$session[sessionhash]&action=viewlist&userlist=buddy">Buddy-Liste bearbeiten</b></smallfont></td>
        <
td bgcolor="$cpnav[7]"><smallfont><b><a href="member2.php?s=$session[sessionhash]&action=viewlist&userlist=ignore">Ignorier-Liste bearbeiten</a></b></smallfont></td>
        <
td bgcolor="$cpnav[8]"><smallfont><b><a href="private.php?s=$session[sessionhash]">Private Nachrichten</a></b></smallfont></td>
</
tr>
</
table>
</
td></tr></table
Any suggestions how I get the right option marked and the color adjusted??

I added a screenshot!

Greetings

StarBuG
Attached Images
File Type: jpg screen.jpg (11.9 KB, 0 views)
Reply With Quote
  #6  
Old 01-15-2002, 06:40 AM
Konqueror Konqueror is offline
 
Join Date: Dec 2001
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You also have to change the settings for $cpnav in the php files. I have attached a file with all the occourences of $cpnav to make your life easier.
Attached Files
File Type: zip cpnav.zip (1.8 KB, 9 views)
Reply With Quote
  #7  
Old 01-15-2002, 10:41 AM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK the colour problem is gone but it´s still options selected if I click on Avatar!

I have added in all files:

$cpnav[8]="{secondaltcolor}";

Any suggestions?

Greetings

StarBuG
Reply With Quote
  #8  
Old 01-17-2002, 04:34 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump!

Greetings

StarBuG
Reply With Quote
  #9  
Old 01-17-2002, 06:32 PM
Shenlong's Avatar
Shenlong Shenlong is offline
 
Join Date: Nov 2001
Location: Manhattan, New York
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<td bgcolor="$cpnav[3]"><smallfont><b><a href="member.php?s=$session[sessionhash]action=editavatar">Avatar</a></b></smallfont></td>

I also noticed you didnt add a & after the sessionhash, im not very sure but dont u have to add it?
Reply With Quote
  #10  
Old 01-17-2002, 11:02 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Link is not the Problem anymore! But if I select AVATAR then Options is marked!!

Greetings

StarBuG
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:28 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04601 seconds
  • Memory Usage 2,302KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete