![]() |
I've installed this into 2.2.1 (using the slight mod from a few posts up), and I get the Now Playing box option for new posts and post edits, but the NP text doesn't show up on the post proper.
I placed it between $post[signature] and $post[editedby] in the postbit template yet it's not showing up there. Any ideas? |
Just play around with it. You'll ge the jist of things, and probably figure it out. I managed to work it out in the end.
|
Quote:
One thing I did notice with the install instructions is that for step 4, editing newreply.php, it said to find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
has anyone tested this on 2.0.3?
|
MarkB, just wanted you to know that everyone on my board is, like, REALLY excited about this hack, and they're using it plentifully! On all forums, even, so that whole thing we discussed earlier in this thread (only appear on one forum) is Totally not needed after all.
Thanks man, awesome hack! :up: |
Quote:
|
n/m... read the 3rd reply
|
ok, I installed it... works beautifully. one problem though... there's no filter for censored words or html... users could really take advantage of this and add harmful tags to mess up pages.
is there a quick and dirty way to disable html in the "postbit_nowplaying" template? |
Quote:
I did this and now when people enter a song name in the now playing field, and they submit thier post. it put ths name of the song as thier post and the post as the name of the song. It works fine for replying to a post but not for making a new thread. anyone know what's going on. Runnings this on vb 2.2.1 |
Okay.. is there another way of adding a new field to post table other than using phpmyadmin?! I am not familiar with this... thanks.
|
First think I would like to say is your hack is awesome I absoultly love it. But as I was installing it I found that many people and me could not find the lines your were referring to in the install file but as I got to look I think the things might be switched around so the stuff you said needed to go into the Newthread.php should go into newreply.php and visa versa. If I'm wrong please let me know but I will try it that way and see if it works and let everyone know. :)
|
I think they may have changed the code between versions... but it seems people are working it out ok :)
|
I used the hack to upgrade from v2.2.2 to v2.2.4 and now this hack has stopped working altogether!
Has anyone got any ideas about re-enabling this hack under v2.2.4? |
when i put in the NP info it dosent show up I think its a problem with where it is in my postbit
i put it here: PHP Code:
|
^
|
well first off I would like to know why you have the varable listed twice on your postbit and I also would like to know what verison of vB you are using since people are having problems it seems cause I found some thing to be backwards.
|
[QUOTE]Originally posted by Serge
well first off I would like to know why you have the varable listed twice on your postbit and I also would like to know what verison of vB you are using since people are having problems it seems cause I found some thing to be backwards. |
Nevermind man i got it working perfectlly!
Great Hack! |
I can't get this to work on 2.2.5..the file changes I'm supposed to make, the "to be replaced" lines are different..and when I try to just add in the NP part I get MySQL errors when trying to post..
Can anyone update the instructions for 2.2.5? |
Ok I have found this out. When adding the stuff in try adding the stuff needed in newreply in newthread and newthread in newreply. I looked it over and saw that they were switch and when I installed it that way it worked. :)
|
This works perfectly for me. since I know php/mysql and it was put together well :p
|
Care to put up a readme of the changes please? This hack would go down great at my music-mad forum.
|
Yea, I'm using 2.2.4 and can't seem to find many of the lines in Newthread.php and Newreply.php, I'm not sure if its because of another hack installed over or just the updated version.
For example, in both Newthread and Newreply this line of code cannot be found: <smallfont><a href="javascript:checklength(document.vbform);">[check message length]</a></smallfont> Any help? |
You look for that line of code in the newreply and newthread TEMPLATES, not the .php files.
|
hmmm. everything works except it won't show after the new thread is submitted. Any ideas? I am using 2.2.5
|
Did you follow step 7?
Quote:
|
When is the Update for 2.2.6?
I have done all the instructions, yet it refuses to work... Satan |
yes, I followed all steps. It's in the postbit, just displaying...
|
oops...I meant just NOT displaying
|
Yeh...
Ive got a little CD Image, and I even did the editpost.php options... It still wont show... Satan |
Anyone?
Satan |
Awesome hack-
But my forum members are all strong users of the Quick Reply box... and would like the NP functionality to be included there, as well.. I copied the basic PHP Code:
Any ideas? |
What title?
It doesnt work on 2.2.6... Satan |
The hack is working fine, and I'm running 2.2.6.
I'm just wondering why, when the form and the code above is included in the quick reply box, does it not add that to the post data. Anyone? I know this hack won't get much use unless I can put a field for now playing... Suggestions? |
Is this what you're looking for??
|
Absolutely it- I had the form input on the quick reply template, but do I need to make any changes? The NP wasn't showing up in the post that was made from the quick reply box...
Thanks! |
Here's what I have as my showthread_quickreply template (yours might be "replybox"):
Code:
<script language="Javascript" src="vbcode.js"></script> |
Thanks- I used that exact code even before, and the form appears, and you can enter in the name of the song- but it won't display when entered in through the quick reply method...
It will work through the normal editpost, or new thread or reply to post... or anything but quick reply... Please help! |
Make sure you have this at the top:
<form enctype="multipart/form-data" action="newreply.php" name="vbform" method="post"> and that you have name="nowplaying" in the input tag for the now playing box. If that doesnt fix it contact me privately and I'll try to help you from there. |
Installed on 2.2.6 and it works great. I did leave off the editpost stuff though.
|
All times are GMT. The time now is 02:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|