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

uae 01-08-2006 01:06 PM

Quote:

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

I'm sorry but I got no idea, would you please PM your forum url and create a test user account for me?

bashy 01-08-2006 01:16 PM

Hi uae

I do have a fairly big issue..

My forum is inside my portal, and the popup is totally wrong for me...

please see it here www.bashys.place.com
I can make a test account if needed

also cannot send a message with FF, i can reply but not compose

Regards

Bashy

uae 01-08-2006 01:27 PM

If you would like to add the pager Icon to who is online in the Forum home for the logged in users.

in template forumhome_loggedinuser

FIND
Code:

$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
BELOW that ADD
Code:

<!-- [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,toolbar=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 ] -->

[EDIT]UPDATED ON Jan-14-2007 to work with vbadvanced portal[/EDIT]

Same instruction in the Attached file.

bashy 01-08-2006 02:01 PM

Just tried this but get this, have made bold to show what i get!
Bashy , bezo+ bezo " border="0" /> , MSNBot

Bashy

EDIT: Placed elsewhere and works ok now :)....Maybe not, its only working for the bots pmsl
Quote:

Originally Posted by uae
If you would like to add the pager Icon to who is online in the Forum home for the logged in users.

in template forumhome_loggedinuser

FIND
Code:

$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
BELOW that ADD
Code:

<!-- [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('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 class="inlineimg" src="$stylevar[imgdir_statusicon]/vbpager_icon.gif" alt="<phrase 1="$loggedin[musername]">$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 ] -->

Same instruction in the Attached file.


bashy 01-08-2006 02:21 PM

i think its a firefox issue cause i only get in firefos, not IE

Bashy

bashy 01-08-2006 02:44 PM

Another issue i have noticed, When you delete the messages i still get in the navbar, Pager Messages: Unread 0, Total 8. but like i said, i have deleted them lol...

Getting a few comlaints about it,the popup looks far too long and they cant read all of there messages????

It also closes there browser when they read the message or sommat...

It would be very much appreciated if you can come in and take a look and sort if you can :)

Regards

Bashy
www.bashys-place.com

sezmar 01-08-2006 03:24 PM

Great Hack, Clicks Install.

This works Flawlessly in FireFox, but locks up IE. Anyone else seen this?

jellybaby 01-08-2006 05:05 PM

Quote:

Originally Posted by uae
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.

Yes I have my URL in there correctly

Wachtmeister 01-08-2006 07:10 PM

Quote:

Originally Posted by Wachtmeister
Hello,

i've got a pager message on my vbadvanced index-page and the users avatar was not shown. The images address was www.webgurus.de/customavatars/something.gif but it should be www.webgurus.de/forum/customavatars/something.gif

If you receive pager messages on the vbadvanced page, the users avatar is not shown.

uae, have you had the chance to view on this one?

solboy 01-08-2006 08:19 PM

Quote:

Originally Posted by uae
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.

Thanks that would be nice.
I think the problem I am having the default avatar is a broken link issuse because an image placeholder is showing for users who don't have an avatar. Where in the templates can I correct this?

VBUsers 01-08-2006 08:29 PM

great hack clicked install

VBUsers 01-08-2006 08:48 PM

is it possible to add a image of a envelope next to the members name in the whosonline that one clicks on and it opens the pager options to send to that user?

solboy 01-08-2006 09:12 PM

Quote:

Originally Posted by uae
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.

Ok here is what I did:

I took the vbpager_user_buddylist_online.gif from the statusicon folder, copied it, renamed it to vbpager_icon.gif then I uploaded it to the /images/statusicon folder on my server and overwrote the original vbpager_icon.gif.

As for editing the postbit template to make the vbpager_icon.gif icon more visible here is what I did:

in the postbit / postbit_legacy template Find:
Code:

<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if><div>$post[reputationdisplay]</div></if>
                                        <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>

Below that Add:
Code:

<!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.0' CHANGEID= 6 ] -->
                        <if condition="$vboptions['vbpager_active'] AND $bbuserinfo[userid]">
<a href="#" onclick="window.open('pager.php?do=buddylist&amp;puserid=$post[userid]','pagerbuddylist','statusbar=no,menubar=no,toolbar=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="$post[username]">$vbphrase[pager_send_pager_message_to_x]</phrase>" border="0" /></a> Send $post[musername] an instant message</if>
<!-- [END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.0' CHANGEID= 6 ] -->

Here are the results:

VBUsers 01-08-2006 09:47 PM

Quote:

Originally Posted by solboy
Ok here is what I did:

I took the vbpager_user_buddylist_online.gif from the statusicon folder, copied it, renamed it to vbpager_icon.gif then I uploaded it to the /images/statusicon folder on my server and overwrote the original vbpager_icon.gif.

As for editing the postbit template to make the vbpager_icon.gif icon more visible here is what I did:

in the postbit template Find:
Code:

<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if><div>$post[reputationdisplay]</div></if>
                                        <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>

Below that Add:
Code:

<!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.0' CHANGEID= 6 ] -->
                        <if condition="$vboptions['vbpager_active'] AND $bbuserinfo[userid]">
<a href="#" onclick="window.open('pager.php?do=buddylist&amp;puserid=$post[userid]','pagerbuddylist','statusbar=no,menubar=no,toolbar=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="$post[username]">$vbphrase[pager_send_pager_message_to_x]</phrase>" border="0" /></a> Send $post[musername] an instant message</if>
<!-- [END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.0' CHANGEID= 6 ] -->

Here are the results:


i use postbit legacy and i did this but it just changes my look on the post but im looking for the second image the code for the whos online so i can add it there

VBUsers 01-08-2006 09:58 PM

Quote:

Originally Posted by bashy
Just tried this but get this, have made bold to show what i get!
Bashy , bezo+ bezo " border="0" /> , MSNBot

Bashy

EDIT: Placed elsewhere and works ok now :)....Maybe not, its only working for the bots pmsl


i get this same error in IE so i doubt its firefox. how can i fix it?

solboy 01-08-2006 09:59 PM

Quote:

Originally Posted by lowandloudinc
i use postbit legacy and i did this but it just changes my look on the post but im looking for the second image the code for the whos online so i can add it there

here you go: https://vborg.vbsupport.ru/showpost....&postcount=133

For anyone who wants the whos online edit you can find it by clicking the link above. Thanks to uae

VBUsers 01-08-2006 10:17 PM

Quote:

Originally Posted by bashy
i think its a firefox issue cause i only get in firefos, not IE

Bashy


i think the error comes up with the html markup set for usergroups. the code interferes with each other. correct me if im wrong.

so how can we keep the color in the usergroup mark up and use the whosonline hack for the pager?? i hope its possible.

and thanks solby for all your help! you are the man!

MGSteve 01-09-2006 06:33 AM

Quote:

Originally Posted by nexialys
UAE, another 3 months of work in the way... LOL

i don't think it would be useful... group discussions is the goal of Chats and Shoutbox ...

I beg to differ. It may be the goal of chats to offer group based chat, but with the exception of a couple of hacks (1 beta), there is little VB integretion with IRC. Besides IRC offers more than what most need.

If this supported chatting to groups of people at the same time, it would be much more useful, 1vs1 chat isn't really that much use, you might as well use PMs really...

That said, this is a very good looking hack and shows good promise. Just get cracking on adding group support ;)

:D

PixelFx 01-09-2006 07:56 AM

installed ... :Dstill crashes my ie

TTG 01-09-2006 09:31 AM

Quote:

Originally Posted by bashy
Another issue i have noticed, When you delete the messages i still get in the navbar, Pager Messages: Unread 0, Total 8. but like i said, i have deleted them lol...

Same problem here, but eveything else seems Ok.
Clicked install.

uae 01-09-2006 11:05 AM

Quote:

Originally Posted by bashy
Just tried this but get this, have made bold to show what i get!
Bashy , bezo+ bezo " border="0" /> , MSNBot

Bashy

EDIT: Placed elsewhere and works ok now :)....Maybe not, its only working for the bots pmsl

Please redo the template edit from this AddOn https://vborg.vbsupport.ru/showpost....&postcount=133

uae 01-09-2006 11:09 AM

Quote:

Originally Posted by Wachtmeister
uae, have you had the chance to view on this one?

Create a user account for me, and PM me.

uae 01-09-2006 11:12 AM

Quote:

Originally Posted by TTG
Same problem here, but eveything else seems Ok.
Clicked install.

Again, I would need a user account to test that my self.

leeman 01-09-2006 11:23 AM

I have the URL right so ....

Neutral Singh 01-09-2006 11:56 AM

Happy New Year!! Thank You

D|ver 01-09-2006 12:31 PM

i would like to add a small google adsense banner into the (popup)message
but there is no banner shown after adding the adsense code into the pager_new template

can somebody help me?

harry1951 01-09-2006 01:53 PM

*clicks install*
It's working fine but I've one small problem with colors. The textbox uses the settings of the CSS selection .page. On my liveboard that's a photo. How can I change it that it will take the colors of CSS selection body.

Edit: See attachment

jellybaby 01-09-2006 03:12 PM

Uninstalled and reinstalled and still the pop up boxes dont work for me (only in IE and only when I close the browser and re-open!) and also it shows the wrong amount received of messages.

sidekick 01-09-2006 06:37 PM

i think this is increasing my server load a lot, can u please post a tutorial on how to uninstall this maybe, coz i think i wanna remove it :|

DaFire 01-09-2006 06:50 PM

there is a problem with the avatar in pager messages outside the forum directory on cmps pages (guess forum base url is missing somewhere)

the used link is
http://www.***.com/image.php?u=13&dateline=1113678094
but it should be
http://www.***.com/forum/image.php?u=13&dateline=1113678094


All times are GMT. The time now is 06:04 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.02287 seconds
  • Memory Usage 1,873KB
  • 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
  • (12)bbcode_code_printable
  • (22)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