PDA

View Full Version : New Posting Features - Now Playing


Dan
07 Jun 2006, 22:35
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! (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=117934)

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 (http://www.vbulletin.org/forum/showthread.php?t=117066).

Changelog:
June 06 2006 - Added version checker.

melefire
07 Jun 2006, 22:39
Looks good, fast update too

egyptsons
07 Jun 2006, 23:23
nice one :)
but I still with 3.5.4 ;)

Syrupymonkey
11 Jun 2006, 09:11
Looking good ;D

Hideo Kojima
28 Jun 2006, 22:58
Thanks for this hack,

for another look :

in postbit(_legacy)
REMOVE:
<if condition="$post['nowplaying']">
<!-- nowplaying -->
<div>
<b>Now Playing:</b> <smallfont>$post[nowplaying]</smallfont>
</div>
<!-- / nowplaying -->
</if>

Find :
<!-- 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 :
<!-- 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 ( 50036 ) in images/misc/

Live demo : here (http://www.france-ferdinand.net/forum/showthread.php?p=19374#post19374)
( look like a song playing in the iPod screen :p )

Azhrialilu
19 Jul 2006, 00:33
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
21 Jul 2006, 01:28
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?do=postreply&t=29918
Referrer : http://www.yesfans.com/showthread.php?p=883509#post883509post883509
IP Address : 24.29.17.137
Username : 1yesfan
Classname : vb_database

yesfans
21 Jul 2006, 01:30
I removed the product and took out template edits, still cant post to site!

yesfans
21 Jul 2006, 01:33
I loaded the Product back to the site and I am able to post. If remove it I get the above error!

RaptureM3
06 Aug 2006, 10:16
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
07 Aug 2006, 01:41
Can you edit the now playing text if a member uses explicit words?

pete_brady
07 Aug 2006, 01:53
Nice idea :) would there be any way of getting it to pull the information from a last.fm account to grab the song playing?


http://www.vbulletin.org/forum/showthread.php?threadid=111113
http://www.vbulletin.org/forum/showthread.php?p=932729

Benj
07 Aug 2006, 02:18
http://www.vbulletin.org/forum/showthread.php?threadid=111113
http://www.vbulletin.org/forum/showthread.php?p=932729
i think he was thinking more of an automated way of adding the single song which is be played

pete_brady
07 Aug 2006, 10:44
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 Aug 2006, 10:05
Special Characters are not being displayed correctly, how to fix that?

e.g.

Hornstar
09 Sep 2006, 11:29
On my site members have sigs that display what they are currently listening to on windows media player.

y2krazy
12 Sep 2006, 18:51
Does that work with 3.6.0, pete?

Dan
12 Sep 2006, 19:13
Yes this mod works with 3.6.0.... which is why it's in the 3.6.0 modifactions area.

pete_brady
12 Sep 2006, 19:38
Does that work with 3.6.0, pete?

the last.fm thing? sure.

AboutMyHost
12 Sep 2006, 22:32
Thanks

Hades-1
15 Sep 2006, 04:17
yeah im sorry but we really need to be able to edit the songs.

Minha
14 Oct 2006, 21:49
Thanks for this hack,

for another look :

in postbit(_legacy)
REMOVE:
<if condition="$post['nowplaying']">
<!-- nowplaying -->
<div>
<b>Now Playing:</b> <smallfont>$post[nowplaying]</smallfont>
</div>
<!-- / nowplaying -->
</if>

Find :
<!-- 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 :
<!-- 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 ( 50036 ) in images/misc/

Live demo : here (http://www.france-ferdinand.net/forum/showthread.php?p=19374#post19374)
( look like a song playing in the iPod screen :p )
Thanks for this Hack and for your modification. It Look very Nice ;)

Installed :)

Chris-777
06 May 2007, 17:41
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:


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:


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
13 Jun 2007, 14:54
thnaks nice mod.

Dimoks
04 Jul 2007, 20:07
two question

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

2. this hack working in vb 3.6.7 ?

thx

Dan
04 Jul 2007, 22:25
It'll add it to the postbit, and yes this hack should still work for all new versions.

huwer
29 Jul 2007, 07:56
Good idea, thank you!

Dear Dan, but no editing, please do editing.

The Equivocate
04 Aug 2007, 09:54
Is it possible for users to update their songs via their UserCP edit profile area too?

Free-D
01 Sep 2007, 02:28
Is it possible to edit Now playing field on post editing?

lu_micr
22 Oct 2007, 20:15
i'm pretty stupid...I can't find the part of the files to edit :/
i'm on a 6.8

SnakeXs
25 Apr 2008, 09:12
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?