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)

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


All times are GMT. The time now is 03:05 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.01055 seconds
  • Memory Usage 1,741KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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