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

Reply
 
Thread Tools
Details »»

Version: , by MarkB MarkB is offline
Developer Last Online: Nov 2009 Show Printable Version Email this Page

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

NOW PLAYING HACK for vBulletin 2.2.8 (UPDATE)

Adds a 'Now Playing' field to your new thread and new reply pages where users can enter whatever they're listening to, and their post will be appended with something akin to: "NP: Some Song by Some Band".

All support questions should be posted in this thread

Remember: BACKUP YOUR DATABASE!! I am not a PHP guru by any stretch of the imagination -- the following code works fine for me, so you should not have any problems.

It's been tested on cB 2.2.8. I will not be held responsible if your forum crashes, or turns into a Britney Spears BB

You can see it in action at my Ultimate Metal forums where I've modified it slightly to have a small CD icon in place of the usual 'NP:'.

This is my first ever hack, so please do let me know any shortcomings or errors!!

I hope you enjoy it as much I plan to

Added to: now includes 'editpost.php' and 'editpost' template changes!

UPDATED for 2.2.8 (very minor fix in newreply.php - if it's working for you, there is NO NEED to upgrade! This will be the last update until vB3 is out

Show Your Support

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

Comments
  #62  
Old 04-03-2002, 11:22 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works perfectly for me. since I know php/mysql and it was put together well
Reply With Quote
  #63  
Old 04-04-2002, 10:46 PM
TGO TGO is offline
 
Join Date: Oct 2001
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Care to put up a readme of the changes please? This hack would go down great at my music-mad forum.
Reply With Quote
  #64  
Old 04-21-2002, 05:06 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea, I'm using 2.2.4 and can't seem to find many of the lines in Newthread.php and Newreply.php, I'm not sure if its because of another hack installed over or just the updated version.

For example, in both Newthread and Newreply this line of code cannot be found:

<smallfont><a href="javascript:checklength(document.vbform);">[check message length]</a></smallfont>

Any help?
Reply With Quote
  #65  
Old 04-21-2002, 06:43 PM
Unknown553's Avatar
Unknown553 Unknown553 is offline
 
Join Date: Oct 2001
Location: Las Vegas, NV, USA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You look for that line of code in the newreply and newthread TEMPLATES, not the .php files.
Reply With Quote
  #66  
Old 05-20-2002, 09:27 PM
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Location: on vb.org
Posts: 526
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm. everything works except it won't show after the new thread is submitted. Any ideas? I am using 2.2.5
Reply With Quote
  #67  
Old 06-06-2002, 11:27 AM
MarkB's Avatar
MarkB MarkB is offline
 
Join Date: Oct 2001
Location: London, UK
Posts: 324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you follow step 7?

Quote:
## Step 7: Edit the template called 'postbit'

Add

$post[nowplaying]

where you want the NP information to appear.
Reply With Quote
  #68  
Old 06-24-2002, 07:07 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When is the Update for 2.2.6?

I have done all the instructions, yet it refuses to work...

Satan
Reply With Quote
  #69  
Old 06-24-2002, 07:24 PM
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Location: on vb.org
Posts: 526
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, I followed all steps. It's in the postbit, just displaying...
Reply With Quote
  #70  
Old 06-24-2002, 07:25 PM
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Location: on vb.org
Posts: 526
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oops...I meant just NOT displaying
Reply With Quote
  #71  
Old 06-24-2002, 07:43 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeh...

Ive got a little CD Image, and I even did the editpost.php options...

It still wont show...

Satan
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 01:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06811 seconds
  • Memory Usage 2,294KB
  • 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_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
  • (4)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