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

Reply
 
Thread Tools
[HTL] Now Playing Hack v.1.3 Details »»
[HTL] Now Playing Hack v.1.3
Version: 1.00, by Dan Dan is offline
Developer Last Online: May 2020 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-02-2004 Last Update: Never Installs: 37
 
No support by the author.

[high]Now Playing Hack[/high]
Version: 1.5
vB-version: 3.0.1
Developer: Dan
Install difficulty: Easy
File edits: 3
Template edits: 5

[high]Description of the Hack:[/high]
This hack lets your users specify what they are listening to at the time of posting.

[high]HACK INSTALLATION DETAILS:[/high]

[high]Files modified for this Hack:[/high]
includes/functions_newpost.php
newthread.php
newreply.php

[high]Templates modified for this Hack:[/high]
postbit_legacy
postbit
newreply
newthread
showthread_quickreply

[high]Changes:[/high]
  • Added a new HTML install file. (Not automatic)
  • Updated to 3.0.1
  • Changed postbit look
  • Moved to HTL
  • Fixed double step in installer
  • Fixed the not allow html/censored words in the now playing field
  • Added Quick Reply functionality
ALWAYS remember to backup before installing anything.


Comments always welcome.

Add-Ons:
Last 10 songs on Forumhome by yabba







SCREENSHOT BELOW:

Show Your Support

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

Comments
  #12  
Old 01-03-2004, 05:49 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everyone starts somewhere mate

A query is basically a piece of code that needs to be run on your MYSQL database, Usualy in PHPMYADMIN that your host should have linked you too, or you will find in your hosts Control Panel.
Reply With Quote
  #13  
Old 01-03-2004, 05:52 PM
mmw's Avatar
mmw mmw is offline
 
Join Date: Jun 2002
Location: england
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In phpMyAdmin select the database then click on query and just past the code from above and click submit query. If you don't have access to phpmyadmin or something similar just email your webhosts asking them to do it for you
Reply With Quote
  #14  
Old 01-03-2004, 05:54 PM
flamingpeach flamingpeach is offline
 
Join Date: Dec 2003
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks guys, I appreciate it
Reply With Quote
  #15  
Old 01-03-2004, 05:54 PM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MindTrix
Everyone starts somewhere mate

A query is basically a piece of code that needs to be run on your MYSQL database, Usualy in PHPMYADMIN that your host should have linked you too, or you will find in your hosts Control Panel.
thanks mindtrix for reply i was mid-typing when I recieved a message saying you replied with the answer.

Thanks everyone so far that has installed this hack!
Reply With Quote
  #16  
Old 01-03-2004, 05:57 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know the feeling Dan, your half way writting a response then someoen else posts it
Reply With Quote
  #17  
Old 01-03-2004, 06:04 PM
TheAnt TheAnt is offline
 
Join Date: Sep 2003
Location: Iceland
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I may actually use this mod. It'll be easier than having it done via Profile Field.
Reply With Quote
  #18  
Old 01-03-2004, 10:17 PM
yabba yabba is offline
 
Join Date: Sep 2002
Location: Idstein/Germany
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A little Add-on for Dans Now Playing Hack.

This little bit of Code display the last 10 Songs at your Forumhome.
Reply With Quote
  #19  
Old 01-03-2004, 10:29 PM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yabba
A little Add-on for Dans Now Playing Hack.

This little bit of Code display the last 10 Songs at your Forumhome.
thanks for the add-on yabba I'll add a link to the first post.
Reply With Quote
  #20  
Old 01-04-2004, 02:45 AM
SiXXGuNNZ's Avatar
SiXXGuNNZ SiXXGuNNZ is offline
 
Join Date: Oct 2001
Location: WA, USA
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here is the way I modded the postbits, regular and legacy, this puts the nowplaying box under the attachments in a box like the attachments use

HTML Code:
---------
|postbit|
--------- 
&
----------------
|postbit_legacy|
----------------
Find:
<!-- / attachments -->
Below add:
</if>
 
<if condition="$post['nowplaying']">
<!-- nowplaying -->
<div style="padding:6px">
	<fieldset class="fieldset">
	 <legend>Now Playing</legend>
	 <div style="padding:3px" align="center">
<img src="/images/smilies/091.gif" alt="This song kicks ass!" 
border="0" /><smallfont><b>$post[nowplaying]</b></smallfont></div>
	</fieldset>
</div>
<!-- / nowplaying -->
attached are examples
Reply With Quote
  #21  
Old 01-04-2004, 02:59 AM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for doing that I just put it in a place i could easily find a spot to put it. If you wouldn't mind I would like to add this to the install file.
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:33 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.04554 seconds
  • Memory Usage 2,311KB
  • Queries Executed 27 (?)
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_html
  • (2)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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_postinfo_query
  • fetch_postinfo
  • 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