vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Now Playing (https://vborg.vbsupport.ru/showthread.php?t=117934)

Dan 06-06-2006 10:00 PM

Now Playing
 
Installation Instructions
Step 1: Upload the .xml file to the Product Manager
Step 2: Read the install.txt file for template edit instructions
Step 3: Click INSTALL!

What does this Plugin do?
It let's you and your members display what they are listening to at the time of posting. The user will have to type in what they are listening into the now playing box at posting as there is currently no program that can see what you are listening to at this time.

Screenshots?
Check Below.

Thanks to calorie for major help in fixing some datamanager issues

The 3.5.x version is located here.

Changelog:
June 06 2006 - Added version checker.

melefire 06-07-2006 08:39 PM

Looks good, fast update too

egyptsons 06-07-2006 09:23 PM

nice one :)
but I still with 3.5.4 ;)

Syrupymonkey 06-11-2006 07:11 AM

Looking good ;D

Hideo Kojima 06-28-2006 08:58 PM

Thanks for this hack,

for another look :

in postbit(_legacy)
REMOVE:
Code:

<if condition="$post['nowplaying']">
<!-- nowplaying -->
<div>
<b>Now Playing:</b> <smallfont>$post[nowplaying]</smallfont>
</div>
<!-- / nowplaying -->
</if>

Find :
Code:

<!-- icon and title -->
            <div class="smallfont">
                <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
                <if condition="$post['title']"><strong>$post[title]</strong></if>
            </div>
            <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
            <!-- / icon and title -->



Replace by :
Code:

<!-- icon and title -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="60%"><div class="smallfont">
                <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
                <if condition="$post['title']"><strong>$post[title]</strong></if>
            </div>
            </td>
    <if condition="$post['nowplaying']"> <td align="right" style="border-left:1px solid" width="40%">
<!-- nowplaying -->
<marquee direction="left" scrollamount="5"><div class="smallfont" style="height:18px;"><b>Now Playing: <blink>:</blink></b> <span style="border-bottom: 1px dashed">$post[nowplaying]</span> <img src="$stylevar[imgdir_misc]/playing.gif" alt="" /></div></marquee>
<!-- / nowplaying -->
</td></if>
  </tr>
</table>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
            <!-- / icon and title -->

Upload playing.gif ( Attachment 50036 ) in images/misc/

Live demo : here
( look like a song playing in the iPod screen :p )

Azhrialilu 07-18-2006 10:33 PM

Nice idea :) would there be any way of getting it to pull the information from a last.fm account to grab the song playing?

yesfans 07-20-2006 11:28 PM

I have removed this but still get this when I try any type of reply, post, new thread, anything........


Database error in vBulletin 3.6.0 Release Candidate 1:

Invalid SQL:
INSERT INTO post
(showsignature, allowsmilie, username, userid, title, pagetext, iconid, visible, parentid, threadid, nowplaying, dateline, ipaddress, attach)
VALUES
(1, 1, '1yesfan', 1, 'Re: I\'m going to be very sporadic', 'dfgg', 0, 1, 881317, 29918, '', 1153441715, '24.29.17.137', 0);

MySQL Error : Unknown column 'nowplaying' in 'field list'
Error Number : 1054
Date : Thursday, July 20th 2006 @ 07:28:35 PM
Script : http://www.yesfans.com/newreply.php?...treply&t=29918
Referrer : http://www.yesfans.com/showthread.ph...3509post883509
IP Address : 24.29.17.137
Username : 1yesfan
Classname : vb_database

yesfans 07-20-2006 11:30 PM

I removed the product and took out template edits, still cant post to site!

yesfans 07-20-2006 11:33 PM

I loaded the Product back to the site and I am able to post. If remove it I get the above error!

RaptureM3 08-06-2006 08:16 AM

Sorry a little off-topic, but how do you get the username bar on top (like in the first pic) and on the left (like in the second pic)?

Is this an option in vBulletin?

theodonnells 08-06-2006 11:41 PM

Can you edit the now playing text if a member uses explicit words?

pete_brady 08-06-2006 11:53 PM

Quote:

Originally Posted by Azhrialilu
Nice idea :) would there be any way of getting it to pull the information from a last.fm account to grab the song playing?


https://vborg.vbsupport.ru/showthrea...hreadid=111113
https://vborg.vbsupport.ru/showthread.php?p=932729

Benj 08-07-2006 12:18 AM

i think he was thinking more of an automated way of adding the single song which is be played

pete_brady 08-07-2006 08:44 AM

Quote:

Originally Posted by Benj
i think he was thinking more of an automated way of adding the single song which is be played

that's what it does.

you install the last.fm plug in for your media player of choice; you play some tunes; your last.fm profile is updated; the tunes show up in your sig.

you can modify the last.fm code to show the 1,2,10 etc most recent tracks. using it on my forum right now.

reteep 08-08-2006 08:05 AM

Special Characters are not being displayed correctly, how to fix that?

e.g. ä ö ü

Hornstar 09-09-2006 09:29 AM

On my site members have sigs that display what they are currently listening to on windows media player.

y2krazy 09-12-2006 04:51 PM

Does that work with 3.6.0, pete?

Dan 09-12-2006 05:13 PM

Yes this mod works with 3.6.0.... which is why it's in the 3.6.0 modifactions area.

pete_brady 09-12-2006 05:38 PM

Quote:

Originally Posted by y2krazy
Does that work with 3.6.0, pete?

the last.fm thing? sure.

AboutMyHost 09-12-2006 08:32 PM

Thanks

Hades-1 09-15-2006 02:17 AM

yeah im sorry but we really need to be able to edit the songs.

Minha 10-14-2006 07:49 PM

Quote:

Originally Posted by Hideo Kojima
Thanks for this hack,

for another look :

in postbit(_legacy)
REMOVE:
Code:

<if condition="$post['nowplaying']">
<!-- nowplaying -->
<div>
<b>Now Playing:</b> <smallfont>$post[nowplaying]</smallfont>
</div>
<!-- / nowplaying -->
</if>

Find :
Code:

<!-- icon and title -->
            <div class="smallfont">
                <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
                <if condition="$post['title']"><strong>$post[title]</strong></if>
            </div>
            <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
            <!-- / icon and title -->



Replace by :
Code:

<!-- icon and title -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="60%"><div class="smallfont">
                <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
                <if condition="$post['title']"><strong>$post[title]</strong></if>
            </div>
            </td>
    <if condition="$post['nowplaying']"> <td align="right" style="border-left:1px solid" width="40%">
<!-- nowplaying -->
<marquee direction="left" scrollamount="5"><div class="smallfont" style="height:18px;"><b>Now Playing: <blink>:</blink></b> <span style="border-bottom: 1px dashed">$post[nowplaying]</span> <img src="$stylevar[imgdir_misc]/playing.gif" alt="" /></div></marquee>
<!-- / nowplaying -->
</td></if>
  </tr>
</table>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
            <!-- / icon and title -->

Upload playing.gif ( Attachment 50036 ) in images/misc/

Live demo : here
( look like a song playing in the iPod screen :p )

Thanks for this Hack and for your modification. It Look very Nice ;)

Installed :)

Guest210212002 05-06-2007 03:41 PM

I realize that this is pretty old, hopefully you can help me sort it out. :)

Somewhere along the line about a year ago my mysql server died in the middle of installing the old version. Since then I've always wanted to get this sucker to work, but I have a handful of problems.

For one, I can't uninstall the old plugin. I believe it's because it's looking for DB tables that don't exist:

Code:

Database error in vBulletin 3.6.3:

Invalid SQL:
ALTER TABLE vb3_post DROP nowplaying;

MySQL Error  : Can't DROP 'nowplaying'; check that column/key exists
Error Number : 1091

If I install this version and allow overwrite, then enable it, I get this DB error:

Code:

Invalid SQL:
INSERT INTO vb3_post
        (showsignature, allowsmilie, username, userid, title, pagetext, iconid, visible, nowplaying, dateline, ipaddress, attach, threadid)
VALUES
        (1, 1, 'Chris', 23, 'Sdfasdf', 'sdfsdaf', 0, 1, '', 1178469421, '141.154.30.233', 0, 28381);

MySQL Error  : Unknown column 'nowplaying' in 'field list'

I _think_ what I might need to do is create the missing column manually, then uninstall/reinstall, but I'd love to get confirmation before that.. And the proper mysql syntax to do it. :D

If you could take a peek at it Dan I'd mucho appreciate it. :)

compact123 06-13-2007 12:54 PM

thnaks nice mod.

Dimoks 07-04-2007 06:07 PM

two question

1. realy add this string (Now Playing) in signature ?

2. this hack working in vb 3.6.7 ?

thx

Dan 07-04-2007 08:25 PM

It'll add it to the postbit, and yes this hack should still work for all new versions.

huwer 07-29-2007 05:56 AM

Good idea, thank you!

Dear Dan, but no editing, please do editing.

The Equivocate 08-04-2007 07:54 AM

Is it possible for users to update their songs via their UserCP edit profile area too?

Free-D 09-01-2007 12:28 AM

Is it possible to edit Now playing field on post editing?

lu_micr 10-22-2007 06:15 PM

i'm pretty stupid...I can't find the part of the files to edit :/
i'm on a 6.8

SnakeXs 04-25-2008 07:12 AM

Hey, Dan, I'm having a weird issue where users who aren't putting anything in the Now Playing field are having info/bands - songs from elsewhere (not sure where/how) appear in the NP area of their posts when they post. It's happened 3-4 times in the past week.

Any ideas?


All times are GMT. The time now is 05:22 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.01345 seconds
  • Memory Usage 1,810KB
  • 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
  • (8)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete