View Single Post
  #1  
Old 06-27-2009, 12:35 AM
slapjack2fast's Avatar
slapjack2fast slapjack2fast is offline
 
Join Date: Mar 2009
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default CYB Template help?

Ok well i have no idea about this so any help would be greatly appreciated

Ive installed inferno technology Mini profile hover which displays a real time pop up of members in real time and their avatar and what their currently viewing , but its only installed to the Who's online template , but i wanted to install it to the Visitors in the last X Hours because i know other sites that have it installed to the Last X Hours aswell


Edit the template 'forumhome_loggedinuser'

Find:
================================================== ======
rel="nofollow"
================================================== ======

Change this to:
================================================== ======
rel="nofollow" onmouseover="ajax_member_popup_call = this;request_data = setTimeout('ajax_member_popup($loggedin[userid])', 500)" onmouseout="clearTimeout(request_data)"
================================================== ======

Save this template.

Only problem is that the template cyb_lastxhoursvisitors don't got a rel=nofollow" in there , could anybody tell me how to make this possible?
Thanx



Ill post the template below for cyb_lastxhoursvisitors

================================================== ======


<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('vilxh_switch')"><img id="collapseimg_vilxh_switch" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_vilxh_switch].gif" alt="" border="0" /></a>
$vilxh_stats
</td>
</tr>
</tbody>
<tbody id="collapseobj_vilxh_switch" style="$vbcollapse[collapseobj_vilxh_switch]">
<tr>
<td class="alt2">
<img src="$stylevar[imgdir_misc]/whos_online.gif" border="0" alt="$vilxh_stats" />
<script language="JavaScript" type="text/javascript">
<!--
function Vilxh_getUsers()
{
document.getElementById("vilxh_users_more").style. display = "none";
document.getElementById("vilxh_users_loading").sty le.display = "inline";
vilxh_users = new vB_AJAX_Handler(true);
vilxh_users.onreadystatechange(Vilxh_updateUsers);
vilxh_users.send('misc.php?show=vilxh_users');
}

function Vilxh_updateUsers()
{
if (vilxh_users)
{
if (vilxh_users.handler.readyState == 4 && vilxh_users.handler.status == 200 && vilxh_users.handler.responseText)
{
vilxh_usersDiv = fetch_object('vilxh_users_area');
vilxh_usersDiv.innerHTML = vilxh_users.handler.responseText;
}
}
}
-->
</script>
</td>
<td class="alt1" width="100%">
<div id="vilxh_users_area" class="smallfont">
$vilxh_userlist_init
<if condition="(($vboptions[cyb_visitorslastx_cutoff]>0) AND ($vilxh_total_members > $vboptions[cyb_visitorslastx_cutoff]))">
<div id="vilxh_users_more" style="display:inline;float:$stylevar[right];">
<phrase 1="$vboptions[cyb_visitorslastx_cutoff]" 2="$vilxh_total_members" 3="$vboptions[cyb_visitorslastx_xhours]">$vbphrase[cybvilxh_showing_x]</phrase> | <a href="javascript:void(0);" onclick="Vilxh_getUsers();" style="text-decoration:none;">$vbphrase[cybvilxh_show_all]</a>
</div>
<div id="vilxh_users_loading" style="display:none;float:$stylevar[right];">
$vbphrase[cybvilxh_loading]
</div>
</if>
</div>
</td>
</tr>
<if condition="$vboptions['cyb_visitorslastx_showgroups'] AND $vilxh_legend">
<tr>
<td class="alt2" colspan="2" align="center">
<span class="smallfont">$vilxh_legend</span>
</td>
</tr>
</if>
</tbody>

I Wanted it like this

Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01250 seconds
  • Memory Usage 1,781KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete