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)

EasyTarget 01-08-2006 07:35 AM

yeah, I like those suggestions above.

I think making it so we can turn off the saved messages in both inbox and sent messages would be a good option too. (if it already exists then I probably just overlooked it)

also, maybe an option to keep the window open?

mcyates 01-08-2006 09:26 AM

Is it possible to click the names of the users in the "What's Going On? box" and page them.

IrPr 01-08-2006 09:38 AM

sound looks u updated ur hack yesterday
but now to upgrade from previous version ?

uae 01-08-2006 10:45 AM

Quote:

Originally Posted by jellybaby
Great hack but not working properly for me yet.
In my site the pop ups arent popping up at all in Firefox and Opera and in IE they only pop up if you close the browser then re-open each time.
I have the same problem with pager messages showing then nothing there when you look
Thank you :rolleyes:

Quote:

Originally Posted by thedvs
Since I did the upgrade, popup wont open in IE
im getting this IE error
Line: 712
Char:3
Error: Permission Denied
Code: 0
Url: index.php
I think its to do with the footer code?

To everyone having the same problem, please make sure that you got your forum url filled in the Help Site Name / URL / Contact Details under your ADMINCP

See the attached Image.

Floris 01-08-2006 11:19 AM

I couldn't wait and have it installed as a test.

For the postbit it perhaps would be nice if the pager image wouldn't appear if the post was made by the user who is browsing the post. (Like: There's no need to page yourself).

Additionally I think it shouldn't list anything from the pager system if the user doesn't want to receive pagers, or if the user who browses the thread is in a usergroup that has no permission to use the pager.

Floris 01-08-2006 11:25 AM

Quote:

Originally Posted by Floris
I couldn't wait and have it installed as a test.

For the postbit it perhaps would be nice if the pager image wouldn't appear if the post was made by the user who is browsing the post. (Like: There's no need to page yourself).

Additionally I think it shouldn't list anything from the pager system if the user doesn't want to receive pagers, or if the user who browses the thread is in a usergroup that has no permission to use the pager.

Hm, I am also able to send msgs to users who are on my pager buddy list, but in a usergroup that has no permission to use the pager.

MissKalunji 01-08-2006 11:48 AM

Quote:

Originally Posted by solboy
Nice Hack uae,

I already installed it and it's working perfect.

Few suggestions:

1. Need a default Avatar or a blank space for users without an Avatar.
2. Need a more visiable instant messenger icon in the postbit/post_legecy so users can easily find it.
3. Who's Online members on the forum home: when you click someone a menu appears giving you the option to send them an instant message, add to buddylist, view profile ect.

Excellent hack again :)


1. there is already one that you could change yourself :-)
2. Just make an icon :-p
3. thats a good idea!

bashy 01-08-2006 12:28 PM

Hi

I have installed and all is showing as it should be but
When i go to type in a message, the text disapears straight away,
not even time to show 2 letters disappears after the 1st letter..
the letter count does not change either due to nothing typed lol

Also this edit in the navbar template
Code:

<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
My code is like this
Code:

<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>$subscribed_threads_replied
<br /><if condition="$rcount != ''">$rcount<br /></if>

so i had to put your change like this
Code:

                        <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>$subscribed_threads_replied
<br /><if condition="$rcount != ''">$rcount<br /></if>
<!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.0' CHANGEID= 3 ] -->
                        <if condition="$show['pager']"><br /><a href="#" onclick="window.open('$vboptions[bburl]/pager.php?action=pager&do=log&folder=inbox','pagerinbox','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=650,height=500'); return false;">$vbphrase[pager_pager_messages]</a><phrase 1="$bbuserinfo[pagerunread]" 2="$bbuserinfo[pagertotal]">$vbphrase[pager_messages_nav_x_y]</phrase></if>
<!-- [END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.0' CHANGEID= 3 ] -->

Was this right or not?

Any ideas as this looks brill!!

Regards

Bashy

EDIT: Isuue resolved, I had set the max character to 0 (disable) but would not let me type anything with this disabled, all is well now as i have set a limit!

uae 01-08-2006 01:00 PM

Quote:

Originally Posted by solboy
Nice Hack uae,
I already installed it and it's working perfect.
Few suggestions:
1. Need a default Avatar or a blank space for users without an Avatar.
2. Need a more visiable instant messenger icon in the postbit/post_legecy so users can easily find it.
3. Who's Online members on the forum home: when you click someone a menu appears giving you the option to send them an instant message, add to buddylist, view profile ect.
Excellent hack again

You welcome :)
1- There is already one, and you can use your own if you like, just replace vbpager.gif with your own.
2- Again, you can user your own icon, it's vbpager_icon.gif.
3- I did not want people editing a lot of their fourm's templates, since vb pager has it's own popup window with all online members.
but if you want to have it, I can provide you with the template edit for that.
------------------------------------------------------------
------------------------------------------------------------

Quote:

Originally Posted by Floris
I couldn't wait and have it installed as a test.
For the postbit it perhaps would be nice if the pager image wouldn't appear if the post was made by the user who is browsing the post. (Like: There's no need to page yourself).

Additionally I think it shouldn't list anything from the pager system if the user doesn't want to receive pagers, or if the user who browses the thread is in a usergroup that has no permission to use the pager.

Hm, I am also able to send msgs to users who are on my pager buddy list, but in a usergroup that has no permission to use the pager.

Hey Floris, thanks for stopping by :)
You know, I used to have this condition in the postbit/postbit_lagacy
Code:

<if condition="$vboptions['vbpager_active'] AND $bbuserinfo['userid'] != $post['userid'] AND $bbuserinfo[userid]">
but then I removed $bbuserinfo['userid'] != $post['userid'], I don't know why, but that how it went lol.

Your second thought, mmm, I had the Private Message Logic, like if a user has disabled PM, anyone try to send that user a pm will get an error message, so again, I went with that logic.

Usergroup with no permission to use pager will never be able to send new pager messages nor reply, but will always be able to receive pager messages from others.
You can always restrict individuals from receiving pager messages, by adding their userids in the vB Pager banned users.
------------------------------------------------------------
------------------------------------------------------------

Quote:

Originally Posted by bashy
Hi
I have installed and all is showing as it should be but
When i go to type in a message, the text disapears straight away,
not even time to show 2 letters disappears after the 1st letter..
the letter count does not change either due to nothing typed lol

You will need to change Maximum Number of charaters per pager message from the vB Pager usergroup permission.
see this attachment https://vborg.vbsupport.ru/attachmen...chmentid=40496

SparKeh 01-08-2006 01:03 PM

uae: any advice for my problem? see post https://vborg.vbsupport.ru/showpost....&postcount=118


All times are GMT. The time now is 05:10 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.02369 seconds
  • Memory Usage 1,762KB
  • 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
  • (4)bbcode_code_printable
  • (7)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