vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - [AJAX] vB Pager 3.0.4 (https://vborg.vbsupport.ru/showthread.php?t=104609)

blind-eddie 12-21-2006 12:53 AM

Quote:

Originally Posted by Bison (Post 1142568)
I just got this to work with my VBA pages on my forum this way:

Edit your "loggedinuser" template and make a direct link to your pager.php file.

Example:

I dont have just "loggedinuser" template , I have forumhome_loggedinuser & forumdisplay_loggedinuser. Im lost...again

Bison 12-22-2006 01:29 AM

Quote:

Originally Posted by blind-eddie (Post 1142578)
I dont have just "loggedinuser" template , I have forumhome_loggedinuser & forumdisplay_loggedinuser. Im lost...again

that's the one ... forumhome_loggedinuser.

Didn't you originally edit this template when you installed vbpager?

blind-eddie 12-22-2006 02:43 AM

I see I already have it as you say......

$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
<!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.0' CHANGEID= 8 ] -->
<if condition="$vboptions['vbpager_active'] AND $bbuserinfo['userid'] != $loggedin['userid'] AND $bbuserinfo[userid]"><a href="#" onclick="window.open('$vboptions[bburl]/pager.php?do=buddylist&amp;puserid=$loggedin[userid]','pagerbuddylist','statusbar=no,menubar=no,toolba r=no,scrollbars=yes,resizable= yes,width=$vboptions[vbpager_width],height=$vboptions[vbpager_height]'); return false;"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/vbpager_icon.gif" alt="<phrase 1="$loggedin[username]">$vbphrase[pager_send_pager_message_to_x]</phrase>" border="0" /></a></if>
<!-- [END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.0' CHANGEID= 8 ] -->

Trana 12-24-2006 04:42 AM

You should have added a link to the jscript in your footer as per the original instructions. By chance, is your CMPS config set to ignore the footer template?

blind-eddie 12-24-2006 05:09 AM

Quote:

Originally Posted by Trana (Post 1144321)
You should have added a link to the jscript in your footer as per the original instructions. By chance, is your CMPS config set to ignore the footer template?

I have no clue......I will look.

blind-eddie 12-24-2006 01:32 PM

I have looked and cant find the jscript....

JohnBee 12-25-2006 03:22 AM

Whenever I shut down my forum this hack messes up my footer. Tried relocating it in the code but I can't seem to get around it.
Is there a variable I could add to ignore the pager footer code when my forums are closed for maintenance?

Bison 12-26-2006 03:47 AM

Quote:

Originally Posted by blind-eddie (Post 1144458)
I have looked and cant find the jscript....

Follow the instructions in the hack and you'll see where the javascript is susposed to be inserted in the footer.

Bison 12-26-2006 03:53 AM

Quote:

Originally Posted by blind-eddie (Post 1143233)
I see I already have it as you say......




$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
<!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.0' CHANGEID= 8 ] -->
<if condition="$vboptions['vbpager_active'] AND $bbuserinfo['userid'] != $loggedin['userid'] AND $bbuserinfo[userid]"><a href="#" onclick="window.open('$vboptions[bburl]/pager.php?do=buddylist&amp;puserid=$loggedin[userid]','pagerbuddylist','statusbar=no,menubar=no,toolba r=no,scrollbars=yes,resizable=yes,width=$vboptions[vbpager_width],height=$vboptions[vbpager_height]'); return false;"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/vbpager_icon.gif" alt="<phrase 1="$loggedin[username]">$vbphrase[pager_send_pager_message_to_x]</phrase>" border="0" /></a></if>
<!-- [END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.0' CHANGEID= 8 ] -->

Hold the mouse pointer over the pager image on the CMPS page and see where the path to the pager.php file is calling from. if your forum path is not in the url. you need to change the code highlighted above to point directly where the pager.php file is.

blind-eddie 12-27-2006 05:31 PM

In the readme it says :In the template: postbit (Optional)
Find:
<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a> &nbsp;</if>
------------------------------------------------------
But, I dont have that, I have :
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
----------------------------------------
Do I edit this or just add it below?

Also In the template: postbit_legacy (Optional)
=============================
FIND:
=============================
<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if>

I have:
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>

Any help would be great


All times are GMT. The time now is 11:55 AM.

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.02240 seconds
  • Memory Usage 1,752KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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