Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by floleb7 floleb7 is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-21-2001 Last Update: Never Installs: 13
 
No support by the author.

Just a little hack.
My members ask me a better system for pm more easy to see so i create a little pop up with $pminfo inside and little refresh.


In the install.txt you will have 2 templates to create but if you want to show the link only for registred users you need to do this.


in global.php (root directory) find :

PHP Code:
    $newpmmsg=1;
  eval(
"\$headnewpm = \"".gettemplate('head_newpm')."\";");


just after put

Code:
if ($bbuserinfo[userid]!=0) {
eval("\$pm_link = \"".gettemplate("pm_link")."\";"); 
}
create a template call pm_link with
PHP Code:
<a href="javascript:void(0)" onclick="window.open('pm.php?s=','test','width=430,height=180')">PM reminder</a
without space between java ansd script
and add $pm_link in forumhome template.


Now only logged in or registred will see the link.

for the rest instrcution in the zip.

demo : click here

not a big hack but useful.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-23-2001, 09:15 AM
floleb7's Avatar
floleb7 floleb7 is offline
 
Join Date: Oct 2001
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

new zip with us and french version.
Reply With Quote
  #13  
Old 11-23-2001, 10:24 AM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I meant was that when I clicked on the link, a new window does open. However, the background changes to one in which the page could not be found. Also, if I clicked to enter the private message , there is no scroll bar. The window is fixed and cannot be adjusted. Why? It's strange....

forgive my poor english!!

and it clear now??
Reply With Quote
  #14  
Old 11-23-2001, 10:34 AM
floleb7's Avatar
floleb7 floleb7 is offline
 
Join Date: Oct 2001
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oki i update the zip.

for the Private message link it's ok
for the rest you mean the pop up with ok for open your private message area or cancel for nothing ?
Reply With Quote
  #15  
Old 11-23-2001, 11:36 AM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by floleb7
oki i update the zip.

for the Private message link it's ok--it's ok
for the rest you mean the pop up with ok for open your private message area or cancel for nothing ?
but the problem is when u click into private message

it should be have scroll bar to move up or down but it still

the popup window size cann't adjusted.see red area!

no scroll bar and cann't adjust!!
Reply With Quote
  #16  
Old 11-23-2001, 11:44 AM
floleb7's Avatar
floleb7 floleb7 is offline
 
Join Date: Oct 2001
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no
the the pop up don't need to be resized because only the pminfo will be in this.

i can test your installation if you want create a test account and i will see
Reply With Quote
  #17  
Old 11-23-2001, 12:05 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

u mean this hack just only let u know u got how much pm's info

not usually we use that way!!

is that ur mean~~

ok i can creat a account but can u see chinese word??

because i'm chinese!!i make a chinese forum~
Reply With Quote
  #18  
Old 11-23-2001, 12:34 PM
floleb7's Avatar
floleb7 floleb7 is offline
 
Join Date: Oct 2001
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hacks allow people to have a little pop up with pm info with a refresh of 60 secondes or by clicking to the link.

If pop up box when receive a pm is enable you will have the box that say "you have a new pm etc"


i made this for members who like to use only pm when they are busy so they did their works and just use pm.


i can see chinese words
Reply With Quote
  #19  
Old 11-23-2001, 02:11 PM
floleb7's Avatar
floleb7 floleb7 is offline
 
Join Date: Oct 2001
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i have the prob.

vb put space between java and script in my insctruction so put off the space and everything would be ok
Reply With Quote
  #20  
Old 11-23-2001, 02:24 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh~~~

that's why i cann't work reason~~~

ok~~i fixed it!!

and it look great~~

thankz ur help~~~
Reply With Quote
  #21  
Old 11-23-2001, 02:42 PM
floleb7's Avatar
floleb7 floleb7 is offline
 
Join Date: Oct 2001
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no prob
hard to release a hack if one thing change when posting
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:02 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.04245 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete