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)

dwbro1 06-02-2006 03:11 AM

It works but i'm having some problems. It causes my IE browser to freeze up and also I will sometimes only get about half the popup window display.

HansMuenchen 06-02-2006 09:45 AM

Quote:

Originally Posted by HansMuenchen
Read (hope) everything here but don't find the error.

Everything works fine nearly only if I page a user the Message window open an if I try (Firefox 1.5.0.3 or IE) to type a Text it's impossible. Every sign will be deleted automaticly after I type it.

What can be wrong?

Thnx for your help.

Greetings
Hans

I found the mistake!

The mistake was that into the group settings ist standing by default:

Maximum Characters Per Pager Message = 0

It must be set to >0 and then it works.

So maybe the install instruction has to be updated (would be helpfull for many users!)

Because I also read into a german VB forum that also other users have the same problem.

Greetings
Hans

DaPro 06-02-2006 11:48 AM

Want to fix those "no reply button" issues when you get a pager pop-up?

I was confused for a while why I could not reply but only close a pop-up well here is a quick fix.

Step 1. In Styles & Templates > Style Manager > Edit Templates > vBPager Templates > pager_newpager

Find This Code:
HTML Code:

<if condition="!$pagerinfo[canreply]">
        <form method="GET">
                        <center>
        <input type="button" class="button" onclick="Close_Pager('action=pager&amp;do=pagerreply&amp;rid=$pagerinfo[receiptid]&amp;touid=$pagerinfo[fromuserid]');closepager('PLAYER');" value="$vbphrase[pager_close]">
                        </center>
        </form>
</if>
<if condition="$pagerinfo[canreply]">
        <form method="GET" action="$vboptions[vbpager_forum_dir_name]pager.php" name="frmpager" onsubmit="return SubmitForm(this, this.rid.value);">
        <input type="hidden" name="rid" value="$pagerinfo[receiptid]">
        <input type="hidden" name="touid" value="$pagerinfo[fromuserid]">
                        <fieldset class="fieldset">
                <legend>$vbphrase[pager_reply_message]</legend>
        <if condition="$pagererror">
                <div class="page" style="border:thin inset; padding:$stylevar[cellpadding]px;<if condition="!is_browser('konqueror')"> height:50px; overflow:auto</if>">
                        <if condition="$pagererror[pagercanuse]"><font class="highlight">$vbphrase[pager_error] </font>$vbphrase[pager_no_usergroup_permissions]<br /></if>
                        <if condition="$pagererror[banuser]"><font class="highlight">$vbphrase[pager_error] </font>$vbphrase[pager_no_usergroup_permissions]<br /></if>
                        <if condition="$pagererror[pagermaxperday]"><font class="highlight">$vbphrase[pager_error] </font><phrase 1="$pagerinfo[pagermaxperday]" 2="0">$vbphrase[pager_sent_x_left_y]</phrase><br /></if>
                        <if condition="$pagererror[pagerquota]"><font class="highlight">$vbphrase[pager_error] </font>
<phrase 1="$vboptions[bburl]">$vbphrase[pager_message_qouta_reached]</phrase><br /></if>

Replace With:

HTML Code:

<if condition="$pagerinfo[canreply]">
        <form method="GET">
                        <center>
        <input type="button" class="button" onclick="Close_Pager('action=pager&amp;do=pagerreply&amp;rid=$pagerinfo[receiptid]&amp;touid=$pagerinfo[fromuserid]');closepager('PLAYER');" value="$vbphrase[pager_close]">
                        </center>
        </form>
</if>
<if condition="!$pagerinfo[canreply]">
        <form method="GET" action="$vboptions[vbpager_forum_dir_name]pager.php" name="frmpager" onsubmit="return SubmitForm(this, this.rid.value);">
        <input type="hidden" name="rid" value="$pagerinfo[receiptid]">
        <input type="hidden" name="touid" value="$pagerinfo[fromuserid]">
                        <fieldset class="fieldset">
                <legend>$vbphrase[pager_reply_message]</legend>
        <if condition="$pagererror">
                <div class="page" style="border:thin inset; padding:$stylevar[cellpadding]px;<if condition="!is_browser('konqueror')"> height:50px; overflow:auto</if>">
                        <if condition="$pagererror[pagercanuse]"><font class="highlight">$vbphrase[pager_error] </font>$vbphrase[pager_no_usergroup_permissions]<br /></if>
                        <if condition="$pagererror[banuser]"><font class="highlight">$vbphrase[pager_error] </font>$vbphrase[pager_no_usergroup_permissions]<br /></if>
                        <if condition="$pagererror[pagermaxperday]"><font class="highlight">$vbphrase[pager_error] </font><phrase 1="$pagerinfo[pagermaxperday]" 2="0">$vbphrase[pager_sent_x_left_y]</phrase><br /></if>
                        <if condition="$pagererror[pagerquota]"><font class="highlight">$vbphrase[pager_error] </font>
<phrase 1="$vboptions[bburl]">$vbphrase[pager_message_qouta_reached]</phrase><br /></if>

That fixed my issues, if it doesn't fix yours let me know and maybe I can help but remember I am no PHP coder, just another newbie like the rest. :banana:

bada_bing 06-03-2006 02:26 AM

I had this hack installed but had to remove it like most of everyone else had to due to high CPU spikes. Is this issue ever going to get resolved? Such a nice hack but the attention to fix the most criticle problem is being overlooked

DaPro 06-03-2006 03:08 AM

Quote:

Originally Posted by bada_bing
I had this hack installed but had to remove it like most of everyone else had to due to high CPU spikes. Is this issue ever going to get resolved? Such a nice hack but the attention to fix the most criticle problem is being overlooked

I get no extra server loads from this script, I suppose depending on the server company and how much they overcrowd their servers it could have issues, but that is not the plugins fault. At least IMO.

bada_bing 06-03-2006 08:56 PM

Quote:

Originally Posted by DaPro
I get no extra server loads from this script, I suppose depending on the server company and how much they overcrowd their servers it could have issues, but that is not the plugins fault. At least IMO.

I dont agree with your comment. There are many many people here that installed this hack that have had this happen. There is something withing this script that hammers at the CPU and no one know what yet, I have two vb sites on two different servers and different ISP and both sites running this hack caused the same issue. THe script workd nice but had to disable it until the CPU issues get resolved.

MissKalunji 06-03-2006 11:24 PM

Quote:

Originally Posted by bada_bing
I dont agree with your comment. There are many many people here that installed this hack that have had this happen. There is something withing this script that hammers at the CPU and no one know what yet, I have two vb sites on two different servers and different ISP and both sites running this hack caused the same issue. THe script workd nice but had to disable it until the CPU issues get resolved.

I think he could be right....

All depends if your server can handle it

I have it and no server issue

gotta keep in mind the amount of memory WHAT kind of server if in a shared hosting etc...

cyberbeggar 06-04-2006 01:59 PM

I have installed but I get this message

Quote:

Sorry, you are not allowed to use vB Pager!
vB Pager 3.0.4 By uaeweb.com
Any reason why I get this?

vb rules 06-04-2006 02:23 PM

need help install this hack in vb 3.5.4 and when i click on a user to pager the pop up come up but nothing happens please tell me how to fix thanks

cyberbeggar 06-04-2006 02:26 PM

I am actually getting this error message when updating user permissions


Quote:

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635
Can someone please offer me advice on what the problem is?


All times are GMT. The time now is 02: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.04061 seconds
  • Memory Usage 1,774KB
  • 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_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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