vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   vB Pager 2.0.4 (https://vborg.vbsupport.ru/showthread.php?t=72823)

docvader 01-24-2005 05:37 PM

Uae, thanks for getting this out. But you mention that we should uninstall the old version first. Will this upgrade, or, should we completely take out everything from the old version, before installing this?

Just trying to diminish the amount of work I have to do. My gf is annoyed at me, LOL.

Edit: Sorry, just read the new zip file, that answered my questions.

GF's gonna be pissed.... LOL

docvader 01-25-2005 06:35 AM

OK.

Truly impressed. Damn. Really impressed.

It works. And it works great. Not a hitch so far. Installation instructions and edits are exact, a true example of how hacks should be put together. And what an addition to a forum. Move it out of the beta section boys, this thing is ready.

ONE ISSUE. The smart guys here will figure this out:

I'm using vba cmps; and I've noticed when people get a message while they are in the adv_index page (the vba cmps page, when you are using the navbar on that page as I do), a pager message will pop up, and "stall", ie, get stuck. (You can't close it). I'm wondering if the footer pager hack part, not being there, is causing this.

So, can we put a conditional in the navbar hack section, along this idea (I use this to change the links in the navbar depending on where you are in the site):

Quote:

<td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a

href="$vboptions[bburl]?$session[sessionurl]"> Forum/Library <else /> <a

href="http://x.russbo.com/index.php"> Forum News </if></a></td>
that shuts off the pager mechanism if one is viewing the vba cmps index page???

Great job Uae. Truly awesome. Most definitely should be a part of the next vbulletin.

Oops. Gotta run. GF is really pissed....

rich
http://x.russbo.com/index.php

uae 01-25-2005 08:06 AM

For those who installed vB Pager 2.0.4 befor this post.

Please FIND in TEMPLATE "vbpager_new"

Code:

<form method="POST" action="pager.php" name="frmnewpager" target="ipager1" onSubmit="return SubmitPager(this);">
REPLACE it WITH

Code:

<form method="POST" action="$vboptions[bburl]/pager.php" name="frmnewpager" target="ipager1" onSubmit="return SubmitPager(this);">
Hack file has been updated.

uae 01-25-2005 08:12 AM

Quote:

Originally Posted by docvader
OK.

Truly impressed. Damn. Really impressed.

It works. And it works great. Not a hitch so far. Installation instructions and edits are exact, a true example of how hacks should be put together. And what an addition to a forum. Move it out of the beta section boys, this thing is ready.

ONE ISSUE. The smart guys here will figure this out:

I'm using vba cmps; and I've noticed when people get a message while they are in the adv_index page (the vba cmps page, when you are using the navbar on that page as I do), a pager message will pop up, and "stall", ie, get stuck. (You can't close it). I'm wondering if the footer pager hack part, not being there, is causing this.

So, can we put a conditional in the navbar hack section, along this idea (I use this to change the links in the navbar depending on where you are in the site):

that shuts off the pager mechanism if one is viewing the vba cmps index page???

Great job Uae. Truly awesome. Most definitely should be a part of the next vbulletin.

Oops. Gotta run. GF is really pissed....

rich
http://x.russbo.com/index.php

Thank you Sir, your words means alot to me :)

But will you guys click on Install this hack please :ermm:

I am using vba cmps and never had that problem with all browsers I've been testing the hack with!!
hmmmmmmmmmmm

I'll look into it.

Thanks again

OrangeFlea 01-25-2005 01:52 PM

Hi, I'm still using 3.0.3. Will this hack work for that version still or do I have to make some slight adjustments? Thanks!

uae 01-25-2005 03:50 PM

Quote:

Originally Posted by OrangeFlea
Hi, I'm still using 3.0.3. Will this hack work for that version still or do I have to make some slight adjustments? Thanks!

It should work fine with 3.0.1 and UP.

So, no problem with 3.0.3

Sooner95 01-25-2005 03:58 PM

looks lile even in beta, it works well.. defintly gonna add this to my site, might wait till final rls tho.. thx!

OrangeFlea 01-25-2005 06:19 PM

How long before the final version is released and do you plan on adding anything else of significance? I'm very eager to put this up.

OrangeFlea 01-25-2005 06:21 PM

Also, I have the "Who's online" disabled on my forum. Is it possible for members to simply click on an icon in the postbit area to page another member? And does the pager icon appear only when the user has a message (page) or is it always visible?

docvader 01-25-2005 10:44 PM

Uae, getting a mysql error when trying to access the Who's Online section of my site:
Quote:

Database error in vBulletin 3.0.6:

Invalid SQL:
SELECT user.username, session.useragent, session.sessionhash, session.location, session.lastactivity, user.userid, user.options, session.host, session.badlocation, session.incalendar, user.aim, user.icq, user.msn, user.yahoo,
// [END HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.4' CHANGEID= 3 ]

IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM session AS session
LEFT JOIN user AS user USING (userid)
WHERE session.lastactivity > 1106699443

ORDER BY user.username asc

mysql error: You have an error in your SQL syntax near '// [END HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.4' CHANGEID= 3 ]

' at line 3

mysql error number: 1064

Date: Tuesday 25th of January 2005 04:45:44 PM
Script: http://x.russbo.com/vb/online.php?
Referer:
Username: xxxxx
IP Address: xxxx
My online.php relevant section looks like this:
Quote:

$sorturl = "online.php?$session[sessionurl]";

eval("\$sortarrow[$sortfield] = \"" . fetch_template('forumdisplay_sortarrow') . '";');


// [START HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.4' CHANGEID= 3 ]
$allusers = $DB_site->query("

SELECT user.username, session.useragent, session.sessionhash, session.location, session.lastactivity, user.userid, user.options, session.host, session.badlocation, session.incalendar, user.aim, user.icq, user.msn, user.yahoo,
// [END HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.4' CHANGEID= 3 ]


IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
Any ideas? It was working before the hack.

rich


All times are GMT. The time now is 07:12 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.02387 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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