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)

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.


All times are GMT. The time now is 11:54 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.01946 seconds
  • Memory Usage 1,755KB
  • 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