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)

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.


All times are GMT. The time now is 03:11 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.02196 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (3)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