Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
v3Arcade - awards popup in postbit Details »»
v3Arcade - awards popup in postbit
Version: 1.00, by GenSec GenSec is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 11-07-2004 Last Update: Never Installs: 23
 
No support by the author.

I hate to add queries to forum pages ...

and this one helps to show user awards list in postbit with new popup window


Add one new php file and 2 new templates attached

than place the anchor anywhere in postbit
Code:
<if condition="$post['arcadeawards']"> 
 <a href="javascript:return false;"   onclick="window.open('awards_popup.php?userid=$post[userid]&amp;username=$post[username]','',  'statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=400,height=400');   return false;" title="Arcade Champion">
<img src="$stylevar[imgdir_arcade]/trophy.gif" alt="Arcade Champion"    align="absmiddle" border=0></a>  
</if>

Show Your Support

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

Comments
  #2  
Old 11-08-2004, 07:07 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is a similar one at v3arcade or vbtemplates. No popups, just a dropdown list
Reply With Quote
  #3  
Old 11-08-2004, 09:16 PM
GenSec GenSec is offline
 
Join Date: Oct 2001
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel
there is a similar one at v3arcade or vbtemplates. No popups, just a dropdown list
Yes. But in my case you don't need to add queries to showthread - just to popup script.
Reply With Quote
  #4  
Old 11-14-2004, 12:34 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx. GenSec.

One small note, I had a problem where when the tropy was clicked, it would just display a blank page. This turned out to be because one of your template names were in caps and I'd entered it in lowercase. Once I'd renamed it, everything was fine.

Might also be worth mentioning that people using the legacy forum view, they'd need to update postbit_legacy template.

[high]* Intex clicks INSTALL[/high]
Reply With Quote
  #5  
Old 02-19-2005, 02:31 AM
Matt_270581 Matt_270581 is offline
 
Join Date: Nov 2004
Location: Australia
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice add on. Installed.
Reply With Quote
  #6  
Old 02-19-2005, 11:33 PM
PET's Avatar
PET PET is offline
 
Join Date: Jan 2002
Location: Timisoara/Romania
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice, but...man, add some more info, do that, edit that, add that to that. You just puted some text files with some text, and some users may not know what to to with them.
Reply With Quote
  #7  
Old 02-19-2005, 11:53 PM
djjeffa's Avatar
djjeffa djjeffa is offline
 
Join Date: Aug 2004
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PET
very nice, but...man, add some more info, do that, edit that, add that to that. You just puted some text files with some text, and some users may not know what to to with them.
I was going to install but im clue less as what to do lol
Reply With Quote
  #8  
Old 02-20-2005, 12:27 AM
PET's Avatar
PET PET is offline
 
Join Date: Jan 2002
Location: Timisoara/Romania
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed it. It works just greate.

1. Copy the PHP file in the forum ROOT.
2. Create a new template with the name : arcade_awardspopup_bit and add the contents from the file
3. Create a new template with the name : ARCADE_POPUP and add the contnents from the file.
4. On postbit template add the code from for_postbit.txt to the location you want the link to appear.

P.S. I use another code for ARCADE_POPUL template :

Quote:
<b>$username's</b> Arcade awards<br /><br />
$arcadeawards
Reply With Quote
  #9  
Old 03-14-2005, 03:34 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is awesome! thanks love it... 0 queries added to the showthread yay!!!
Reply With Quote
  #10  
Old 03-19-2005, 04:55 AM
sim tech sim tech is offline
 
Join Date: Jan 2005
Location: Georgia
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod - and thanks to Intex for mentioning the Postbit_Legacy part. I was scratching my head as to why it was not working.

Since I have 300 games (and growing) and only half as many members, is there any way for this to just show the Top 3 (or maybe the top 10) Arcade Champs?

Thanks for the mod - I clicked "install" too
Reply With Quote
Reply

Thread Tools

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 04:32 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.09332 seconds
  • Memory Usage 2,286KB
  • Queries Executed 23 (?)
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
  • (3)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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