PDA

View Full Version : Trying to get this code in "links" to work


Xencored
07-05-2009, 10:42 PM
Hi
My coding is crap realy crap ive been trying for the last few hours "like 4-6" to get CYB new_posts to show in my links the code is this $cyb_anp
And my header / links code is this

<!-- LOGO -->
<a name="top"></a>

<table height="180" style="background-image: url(images/Dutty_light/gradients/back_header.gif)
; repeat: repeat-x;" border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]">&nbsp&nbsp&nbsp&nbsp<a href="$vboptions[bburl]/$vboptions[forumhome].php$session[sessionurl_q]"><img src="http://i651.photobucket.com/albums/uu239/Animeisland/maibanner2.jpg" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>

<!-- /LOGO -->

</tr>
</table>


<!-- NAV BUTTONS -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td>
<div style="background-image: url(images/Dutty_light/gradients/menu.jpg); repeat: repeat-x;" height="40" class="menu">

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

<if condition="$show['registerbutton']">
<li><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></li>
</if>




$template_hook[navbar_buttons_left]

<li><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></li>

<if condition="$show['communitylink'] AND $show['popups']">
<li><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a><script type="text/javascript"> vbmenu_register("community", true); </script></li>
<else />
<if condition="$show['memberslist']">
<li><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></li>
</if>
<if condition="$show['quick_links_groups']">
<li><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></li>
</if>
</if>

<li><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></li>
<li><a href="./conquest.php">Conquest</a></li>



<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">




<else />

</if>
<li><a id="navbar_search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search", true); </script></if></li>
</if>
<if condition="$show['member']">
<li><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools", true); </script></li>
</if>
<else />







<if condition="$show['searchbuttons']">
<li><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></li>
<if condition="$show['member']">
<li><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></li>
<else />
<li><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></li>
</if>
</if>
<li><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></li>
<if condition="$show['member']">
<li><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_contacts]</a></li>
</if>
</if>


$template_hook[navbar_buttons_right]



<if condition="$show['member']">
<li><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></li>
</if>

</ul>
</div></td></tr></table>

<!-- /NAV BUTTONS -->



<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

But when i add this <li>$cyb_anp</li> Just after <li><a href="./conquest.php">Conquest</a></li>
It sends my page nuts

with links all over i tryed loads of ways and cant get it to show :(

Please has anyone got any ideas how i can get this to fit in and work
Thanks:up:
Mike

Lynne
07-05-2009, 10:51 PM
You need to ask this question in the modification thread. We have no idea what the supposed output of the variable $cyb_anp is, so we don't know what to suggest for a link.

Xencored
07-05-2009, 10:57 PM
You need to ask this question in the modification thread. We have no idea what the supposed output of the variable $cyb_anp is, so we don't know what to suggest for a link.

cyb is busy guy he rarely posts on his mods i think due to too many people using them
is there any other way i can work out what you said lynne

Thanks

Lynne
07-05-2009, 11:08 PM
Just because he is busy doesn't mean someone else in the thread won't help. I know I help out people in modifications I've downloaded and I know tons of others do also. But, as I said, the users who know the variables and know what you are talking about are in the modification thread so that is where you should ask for help.

Xencored
07-05-2009, 11:11 PM
Just because he is busy doesn't mean someone else in the thread won't help. I know I help out people in modifications I've downloaded and I know tons of others do also. But, as I said, the users who know the variables and know what you are talking about are in the modification thread so that is where you should ask for help.

Yea good point lynne sorry
And Thanks :)