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?


All times are GMT. The time now is 09:58 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.01090 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete