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)

redwinger 12-11-2006 03:12 AM

Got it working in 3.6.4 but am for some reason missing the icon to click in the postbit. Edited the template but it just isn't there. Otherwise it works fine. Any suggestions?

Attitude 12-12-2006 01:11 PM

Quote:

Originally Posted by blind-eddie (Post 1134458)
Step 4. From The Admincp, Edit vB Pager Options and Usergroup Permissions.?

This is what your stuck on? admincp/vB Pager Options


this is where I am stuck bro! I dun get any vB pager options in the admincp!!!! what to do man. I am so sad abt it :(

Please help

blind-eddie 12-12-2006 01:21 PM

Quote:

Originally Posted by Attitude (Post 1137061)
this is where I am stuck bro! I dun get any vB pager options in the admincp!!!! what to do man. I am so sad abt it :(

Please help

sent you pm

Trana 12-12-2006 07:22 PM

Quote:

Originally Posted by blind-eddie (Post 1135950)
Re-Read readme-----Double Check Every thing, Something was missed.


Got it, a part of my template seems to be reverted incorrectly.

Its working now.

Can anyone tell me how I can create a link to a users buddylist to send messages? For example, instead of being given a list of WOL, I would only like to show the buddies online. Any idea how to do this?

blind-eddie 12-12-2006 08:42 PM

Glad to hear that.....Does anybody know the global varable to get the pager to pop up in vba pages...I have ask this same question about 25 times and have yet to get a response.....It worked before my upgrade....

Trana 12-12-2006 09:00 PM

I think I am looking for the same thing. This is what I have in there now:

<a href="#" onclick="window.open('../forum/pager.php?do=buddylist&amp;puserid=$userinfo[userid]','pagerbuddylist','statusbar=no,menubar=no,toolba r=no,scrollbars=yes,resizable= yes,width=$vboptions[vbpager_width],height=$vboptions[vbpager_height]'); return false;">

But that opens the pager with all online users listed. I would like to know the two options:

Open pager window for a specific user
Open pager window for my buddy list

Any help would be appreciated.

blind-eddie 12-12-2006 09:42 PM

I still cant get the page buddy on front page, but is in all user's cp..

Trana 12-13-2006 02:15 AM

Quote:

Originally Posted by blind-eddie (Post 1137384)
I still cant get the page buddy on front page, but is in all user's cp..

Right, seems like the same problem. The link on my postbit and in the member profile page works fine, but on the VBA pages (i.e. within the modules) it pushed you to the "who's online" pager popup.

blind-eddie 12-13-2006 03:37 AM

This hack needs re-written....

Trana 12-15-2006 07:19 PM

Code:

<if condition="$vboptions['vbpager_active'] AND $bbuserinfo['userid']">
<a href="#" onclick="window.open('forum/pager.php?do=buddylist&amp;puserid=$loggedin[userid]','pagerbuddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=$vboptions[vbpager_width],height=$vboptions[vbpager_height]'); return false;"><img src="../forum/images/misc/comment.gif" alt="<phrase 1="$post[username]">$vbphrase[pager_send_pager_message_to_x]</phrase>" border="0" /></a></if>

Change it to $loggedin[userid] as per the above and it should work, at least it does on my site.

mariannet 12-15-2006 07:31 PM

Everything works great, only a user go to modify options and make a change, then it sets you to "Pager off" and this can only be reversed by changing the setting in the DB table?

Amiga Harrison 12-17-2006 03:17 AM

This works perfectly for my board using vB 3.6.4

It initially wouldn't pop up any messages when I installed it, even though it was showing there were unread messages as being present, and it wouldn't show the messages in the popup messages list inbox, but was showing the send messages. But I then worked out I had placed some of the code in the wrong location in one of the templates. Correcting that and resaving the permissions for each usergroup got it all working perfectly.

blind-eddie 12-17-2006 04:12 AM

Quote:

Originally Posted by Trana (Post 1139321)
Code:

<if condition="$vboptions['vbpager_active'] AND $bbuserinfo['userid']">
<a href="#" onclick="window.open('forum/pager.php?do=buddylist&amp;puserid=$loggedin[userid]','pagerbuddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=$vboptions[vbpager_width],height=$vboptions[vbpager_height]'); return false;"><img src="../forum/images/misc/comment.gif" alt="<phrase 1="$post[username]">$vbphrase[pager_send_pager_message_to_x]</phrase>" border="0" /></a></if>

Change it to $loggedin[userid] as per the above and it should work, at least it does on my site.


Where do I go to edit this?

Trana 12-17-2006 04:58 AM

Quote:

Originally Posted by blind-eddie (Post 1140123)
Where do I go to edit this?

If I understand correctly, you were having problems with the VBA module for the buddylist, by default this should be something like adv_portal_buddylist. If that is the module that you were having problems with, go into that template and make that change. That will resolve the issue where clicking on the link within VBA pages opens the Who's Online page instead of the link to that person's pager.

blind-eddie 12-17-2006 05:14 AM

Thank You very much.....thats what I was looking for....I will let you know if it works..

Bison 12-17-2006 02:17 PM

To add to his answer, you need to edit the adv_portal_buddylist template of each style. Select "Style manager" and when you see you list of styles, select "edit templates" of each style. add the "forum/" or whatever you call your forums directory to the left of "pager.php" ... that should fix it. :)

rknight111 12-17-2006 03:48 PM

I am making a left side menu on my site and I am looking for the code to call up the pager. I will have a button 'Page Member' Does anyone know what the coding is to get the button to do this..

RON

Bison 12-17-2006 04:09 PM

I would think all you need to do is copy the template "loggedinuser" with the pager code.

gothicuser 12-17-2006 07:50 PM

Quote:

Originally Posted by rknight111 (Post 1140401)
I am making a left side menu on my site and I am looking for the code to call up the pager. I will have a button 'Page Member' Does anyone know what the coding is to get the button to do this..

RON

Do you mean a button for individual members??
If so then thats simple:
Code:

<a href="#" onclick="window.open('$vboptions[bburl]/pager.php?do=buddylist&puserid=3','pagerbuddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=620,height=500'); return false;"> Member A </a>
Just change the userid to what you need.

Trana 12-18-2006 03:03 AM

Does anyone know of a way to integrate reply capabilities into this? Like if a user sends me a message, the window that pops up would allow a direct response instead of having to create a whole new page.

blind-eddie 12-18-2006 03:35 AM

Quote:

Originally Posted by Trana (Post 1140758)
Does anyone know of a way to integrate reply capabilities into this? Like if a user sends me a message, the window that pops up would allow a direct response instead of having to create a whole new page.


What do you mean by create a whole new page?

Trana 12-18-2006 11:39 PM

Quote:

Originally Posted by blind-eddie (Post 1140766)
What do you mean by create a whole new page?

If someone pages you and you want to respond, you need to page them. It would be cool if you could respond to them directly in the existing pager window on the screen you are on.

blind-eddie 12-19-2006 12:52 AM

Oh ok...I see what you mean...that would be cool...It would also be nice if that page remained opened like MSN or Yahoo pager, even if you get pages from others...It or they would remain open til you close them....Sure wish I was a coder....

Attitude 12-19-2006 04:22 AM

Quote:

Originally Posted by Attitude (Post 1134265)
lol mate r u of any help ?

let me knw.... coz mine is 3.6.3 but still not able to work properly. I am stuck at step 4. :(

bump :(

blind-eddie 12-19-2006 11:34 AM

Quote:

Originally Posted by Attitude (Post 1141415)
bump :(

I pm'ed you....

blind-eddie 12-19-2006 11:58 AM

I still cant get this to pop up on vba pages......

Trana 12-19-2006 03:54 PM

You get NO popups on your VBA pages?

blind-eddie 12-19-2006 05:43 PM

Quote:

Originally Posted by Trana (Post 1141659)
You get NO popups on your VBA pages?


That is correct.

blind-eddie 12-20-2006 10:59 PM

I dont have adv_portal_buddylist ,,,, I have adv_portal_buddylistbits ,
Now what do I do?

Bison 12-21-2006 12:35 AM

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:

Quote:

<a href="http://www.yourforum.com/forums/pager.php">

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 06:15 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.02560 seconds
  • Memory Usage 1,842KB
  • 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
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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