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)
-   -   Add-On Releases - Name That Tune (https://vborg.vbsupport.ru/showthread.php?t=162602)

micheal332001 11-12-2007 10:00 PM

Name That Tune
 
************************************************** ****
What is Name That Tune
************************************************** ****

Well name that tune is a sinple game for your members to play.
You view a tune you want to play and click the play button,
listen to the tune and then see if you know what the song is.
If you get the song right you win the jackpot, but if you get
it wrong the cost of play is added to the jackpot.

This is a simple but fun add-on to your vbulletin site.


************************************************** ****

NO CASH NAME THAT TUNE SYSTEM

I have added a zip file that does not use a cash system.
It has a multiplyer and a timer for playing.
You set the timer for the game and set how much will be won by
some thing like this

Multiplyer*timeleft ( 25*15 )
this would be the users score.

If they answer wrong it will add what is set in the settings for that game like

Multiplyer+If Wrong ( 25+10)

So in afect if a player gets it wrong it makes the multiplyer go up, and makes it better for the player who gets it right as the multiplyer will be higher.

All support for this script will be at

www.vb-hacks.com

As i dont have the time to keep looking here.

NEW NAME THAT TUNE INFO
There is a new download for the name that tune.

New install

INSTALLING
**********

Unzip the zip file mmnamett.zip
Upload the content of the UPLOAD folder to your forums root.
Loggin to your admincp
and goto Manage Products
click on [Add/Import Product]
and browse for the product-mmnamethattune.xml file
Allow Overwrite ( NO )
click import

You have completed the install.

UPGRADING

If you are using the Cash Version upgrading is simple

Unzip the zip file mmnamett.zip
Upload the content of the UPLOAD folder to your forums root.
Loggin to your admincp
and goto Manage Products
click on [Add/Import Product]
and browse for the product-mmnamethattune.xml file
Allow Overwrite ( YES )
click import

UPGRADING NO CASH SYSTEM

To upgrade the no cash system you will have to uninstall the version you have now,
and do a new install of this script.


SETTING UP
**********
Now that you have installed your new name that tune script,
you will have to update the settings to suit your needs.

Active the name that tune for your members to be able to view the script.
Choose the cach system you are going to use.

Settings finished.
************************************************** ****

USERGROUPS
***********
Now that you have updated your settings for name that tune,
you will need to set the settings for each usergroup.
click on Usergroup Manager
edit all usergroups and find
Name That Tune Permissions
and set who can view and who can play the games.

Usergroup settings finished.
************************************************** ****

CHANGES MADE

The changes made from the old version to this one is

Cash version and no cash version in one not two different zip files there is only one that does both mods.

If you use the no cash version if a players score has been beaten it will PM the person that there score has been beaten.

VERSION 1.2

Added a import system for importing more mp3's
This is a upgrade

VERSION 1.3

In this version i have stopped members from sending in more scores to one tune as this version will check to see if they have a score already and will show them a error message if they have.

VERSION 1.5

In this version i have added an inline modcp where you will be able to let sertain members mod your past winners and mod the tunes.
Also in the admincp for inporting mp3s it automaticly creates the categories for you.
If you try to put in the same category it will install the mp3s to that cat and will not make a new category.

VERSION 1.6

Hi all

Version 1.6 is now released.
Updates included

Display order of categories in admincp.
Added hit counter to tunes.
Added modcp upload tunes,
This is a java upload system when you have choosen your mp3 to upload the upload will begin,
Letting you put in the info for the rest of the tune like tune title description category cost jackpot and the count down timer.

Then you click on save file and it will add your tune to the database.


PLEASE MARK AS INSTALLED CLICK HERE

CLICK TO
Nominate for MOTM

If you find any problems please post here i will lookin from time to time

MP3 Packs

Intro's pack made by bazzup
Click here to view post

Tune Pack From Alibass
Click to download Pack
Click to download country western Pack

Tune pack from xxxsaint
Click here to download pack

Christmas Pack Added

MP3 Players

Black Ipod mp3 players click here

micheal332001 11-13-2007 11:23 AM

Here is a demo of this script

Click here

Login details are

username test
password test

waller99 11-13-2007 12:40 PM

Do you have a demo site we can see to test it out?

Also, would there be a way to make the cash jackpot use the same cash as the Casino Cash here?
https://vborg.vbsupport.ru/showthread.php?t=159151

Great mod nevertheless. Thanks.

micheal332001 11-13-2007 12:45 PM

Quote:

Originally Posted by waller99 (Post 1381707)
Do you have a demo site we can see to test it out?

Also, would there be a way to make the cash jackpot use the same cash as the Casino Cash here?
https://vborg.vbsupport.ru/showthread.php?t=159151

Great mod nevertheless. Thanks.

In the settings you can choose any of the cash tables for the casino you are on able the table is casino_cash
So in the settings to name that tune you would put for the cash setting casino_cash
and it will work.

yahoooh 11-13-2007 01:08 PM

thanks , it is great addition

jasculs 11-13-2007 03:04 PM

The demo password and username isn't working

Nzarect 11-13-2007 03:54 PM

nice hack

micheal332001 11-13-2007 05:20 PM

Quote:

Originally Posted by jasculs (Post 1381782)
The demo password and username isn't working

Iv just tested it and its working for me,
please try it again

iogames 11-13-2007 08:07 PM

I must say; 'Interesting! :rolleyes:'

But ppl can Google the Lyrics?

gforce75 11-13-2007 08:16 PM

Ha wow, nice concept? I'll look into it :p

micheal332001 11-13-2007 08:44 PM

Quote:

Originally Posted by iogames (Post 1381988)
I must say; 'Interesting! :rolleyes:'

But ppl can Google the Lyrics?

The idea of this is to have a small peace of music playing in the mp3 player.
Without any Lyrics just music this makes it harder for them to find out the answer.
I will make more mp3 files up and post them as a pack for uploading to your name that tune script.

As you will see that most of the tunes you will add will only be about 4 to 6 seconds of play for that peace of music.
The shorter the play time the harder it is for them to guess what the tune is.

powerful_rogue 11-13-2007 10:52 PM

Is there anyway to have a score table rather then using the money feature?

micheal332001 11-14-2007 07:21 AM

Quote:

Originally Posted by powerful_rogue (Post 1382066)
Is there anyway to have a score table rather then using the money feature?

Thats a good idea if you could give me info how that would work i will sort it out.

powerful_rogue 11-14-2007 09:18 AM

The simple option would be to have 1 point awarded for each correct answer. You could then maybe get more techincal and have ti time based.

30 seconds allowed after the clip has finished to give your answer. Each second that passes you lose one point.

You then have a table listing the people with the highest scores.

Another feature if possible, "Skip" which moves along onto the next clip.

micheal332001 11-14-2007 11:09 AM

Quote:

Originally Posted by powerful_rogue (Post 1382255)
The simple option would be to have 1 point awarded for each correct answer. You could then maybe get more techincal and have ti time based.

30 seconds allowed after the clip has finished to give your answer. Each second that passes you lose one point.

You then have a table listing the people with the highest scores.

Another feature if possible, "Skip" which moves along onto the next clip.

Thats a good idea but some clips as you put it might take a bit of time for you to here.
So it would be better to have the count down a setting for each clip and maybe have the clip play automaticly.
This would be a count down timer in the mp3 player saying you have X amount of time to answer or you will automaticly lose X points as it will send the answer even if they have not answered.

Jeordie015 11-14-2007 09:27 PM

I haven't installed this yet, so I don't know how it's set up. But I was wondering if an admin could add more songs. Or would that be something that isn't possible?

micheal332001 11-15-2007 05:15 PM

Quote:

Originally Posted by Jeordie015 (Post 1382648)
I haven't installed this yet, so I don't know how it's set up. But I was wondering if an admin could add more songs. Or would that be something that isn't possible?

Hi there

The admin can add as many songs as he/she wants its up to you.

powerful_rogue 11-15-2007 11:49 PM

The nocash version dosent seem to work for me.

When I click on the preinstalled titles "Do you know this" it opens the page with the audio player, but then the screen refreshed and its says I lost.

Plus I think iove found an easier way to score it. The below example is based on a ten second clip.

Answer in:

1 sec - 10 points
2 sec - 9
3 sec - 8
4 sec - 7
5 sec - 6
6 sec - 5
7 sec - 4
8 sec - 3
9 sec - 2
10 sec - 1
GAME OVER

Maybe even allow an option of having a 3 second gap before scoring, as its unlikely anyone will guess within the first few seconds. You could have where it currently says "Multiplyed" - change it to "Maximum Points" - which will depend on how long the clip is.

I just find the current mutiplyed scoring system a little too difficult to work out.

This mod has huge potential!

micheal332001 11-16-2007 06:29 PM

Quote:

Originally Posted by powerful_rogue (Post 1383443)
The nocash version dosent seem to work for me.

When I click on the preinstalled titles "Do you know this" it opens the page with the audio player, but then the screen refreshed and its says I lost.

Plus I think iove found an easier way to score it. The below example is based on a ten second clip.

Answer in:

1 sec - 10 points
2 sec - 9
3 sec - 8
4 sec - 7
5 sec - 6
6 sec - 5
7 sec - 4
8 sec - 3
9 sec - 2
10 sec - 1
GAME OVER

Maybe even allow an option of having a 3 second gap before scoring, as its unlikely anyone will guess within the first few seconds. You could have where it currently says "Multiplyed" - change it to "Maximum Points" - which will depend on how long the clip is.

I just find the current mutiplyed scoring system a little too difficult to work out.

This mod has huge potential!

Hi there

I will look into this now working the no cash one and get back to you on this.

I see what you mean about the scoring,
The quicker they get it from the start of the song or what every you are having them guess the higher the score.
I could sort it that a player can only win once per mp3 so that the name that tune can stay open for other players to try the same mp3 out and try and beat the top scorer.

I will work on the no cash system a bit more and post any updates soon.

micheal332001 11-16-2007 06:44 PM

Ok all i have found the problem in the NO CASH VERSION

Login to your admincp goto Style Manager
Find the template called mmnamett_play_tunes_bit and change that template to this.

PHP Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
        <
tr>
          <
td colspan="2" class="tcat" align="center" width="100%">
                
$vbphrase[mmnamett_tune_text]
          </
td>
          <
td>
          </
td>
            </
tr>
            <
tr>
            <
td colspan="2" class="alt2" align="center" width="100%">
                
$text
            
</td>
          <
td>
          </
td>
        </
tr>
        <
tr>
          <
td class="tcat" align="center" width="50%">
                
$vbphrase[mmnamett_tune_cost]
          </
td>
          <
td class="tcat" align="center" width="50%">
                
$vbphrase[mmnamett_tune_pot]
          </
td>
            </
tr>
            <
tr>
            <
td class="alt2" align="center" width="50%">
                $
$cost
            
</td>
            <
td class="alt2" align="center" width="50%">
                $
$pot
            
</td>
        </
tr>
  <
tr>
    <
td colspan="2" class="tcat" align="center" width="100%">
    
$vbphrase[mmnamett_tune_player]</td>
            </
tr>
            <
tr>
    <
td colspan="2" class="alt2" align="center" valign="top">
    <
embed src="playtune.swf" 
  
width="550" height="200" bgcolor="#FFFFFF"
  
type="application/x-shockwave-flash" 
  
pluginspage="http://www.macromedia.com/go/getflashplayer" 
  
flashvars="nttid=$id&name=$name&text=$text&file=$file&countdowntimer=$countdowntimer&pot=$pot/>
</
td>
  </
tr>
</
table

That that means change all the content in this template to this code.

I will update the zip file for the no cash version in just a min.

powerful_rogue 11-16-2007 07:25 PM

Hi,

Thanks for the update, works a treat now :) Although the counter seems to start once the page has loaded whereas the player dosent start until you press play.

I dont know anything about coding, so not sure whats easy and whats not, but another couple of suggestions!

1) People can only score once per mp3 track played. They can still go into it afterwards, however their score dosent count.

2) A "Start" button to replace the "play triangle" - Its hard to see at the moment and will make it easier for any older players.

3) "Timer Set To" - Change to

Quote:

"Top Score Available"
10 Points

Played
Yes
Otherwise at present theres no way of knowing at first glance which ones you have played.

4) Make "Enter Your Guess Here" vanish once the player has clicked into the box. At present you have to highlight and then delete.

This really is a superb mod with great potential. I hope you dont think im criticisng you work - Youve done a cracking job :D

micheal332001 11-16-2007 08:04 PM

Quote:

Originally Posted by powerful_rogue (Post 1383927)
Hi,

Thanks for the update, works a treat now :) Although the counter seems to start once the page has loaded whereas the player dosent start until you press play.

I dont know anything about coding, so not sure whats easy and whats not, but another couple of suggestions!

1) People can only score once per mp3 track played. They can still go into it afterwards, however their score dosent count.

2) A "Start" button to replace the "play triangle" - Its hard to see at the moment and will make it easier for any older players.

3) "Timer Set To" - Change to



Otherwise at present theres no way of knowing at first glance which ones you have played.

4) Make "Enter Your Guess Here" vanish once the player has clicked into the box. At present you have to highlight and then delete.

This really is a superb mod with great potential. I hope you dont think im criticisng you work - Youve done a cracking job :D

Hi there

I like your ideas on the no cash system and will sort these updated out.

I will make it that the members can only guess once per mp3
Ill replace the Play button
When adding a mp3 you can set the timer limit thats already there
making the "Enter Your Guess Here" vanish will be done in next release

And you can criticise all you want as this helps me make it better for me as well as you.

So keep it coming.

powerful_rogue 11-16-2007 08:38 PM

Cool :D

Ive added an attatchment to show a suggestion:

1 = before playing
2 = after playing

thepub 11-17-2007 01:01 AM

will this integrate with vbplaza points? And I have to know what the answer is to the demo song LOL!

powerful_rogue 11-17-2007 09:55 AM

Quote:

Originally Posted by thepub (Post 1384124)
will this integrate with vbplaza points? And I have to know what the answer is to the demo song LOL!

I reckon it would.

Quote:

In the settings you can choose any of the cash tables for the casino you are on able the table is casino_cash
So in the settings to name that tune you would put for the cash setting casino_cash
and it will work.
Just alter the cash setting in the ACP options to the same as the one your using for vbplaza.

powerful_rogue 11-17-2007 10:12 AM

Using the no cash version, When you goto play it still says:

Cost per play + Current Jackpot above the audio player.

thepub 11-17-2007 04:43 PM

I installed this following the instructions and there was nothing my admin cp regarding this other than listed in the products & plugins area. I searched everywhere and found nothing for me to make settings or anywhere to play it on my board.

powerful_rogue 11-17-2007 05:09 PM

Stange, Ive got setting down the left hand side saying "Name that tune options".
Did you try looking under VBOptions?

micheal332001 11-17-2007 05:21 PM

Quote:

Originally Posted by powerful_rogue (Post 1384268)
I reckon it would.



Just alter the cash setting in the ACP options to the same as the one your using for vbplaza.

The name that tune that uses the cash system will use any cash system you have vbookie, vbcredits vbplaza and any others aut there.

Quote:

Originally Posted by powerful_rogue (Post 1384279)
Using the no cash version, When you goto play it still says:

Cost per play + Current Jackpot above the audio player.

Will be updated in next release

Quote:

Originally Posted by thepub (Post 1384475)
I installed this following the instructions and there was nothing my admin cp regarding this other than listed in the products & plugins area. I searched everywhere and found nothing for me to make settings or anywhere to play it on my board.

Have you made sure you have uploaded all files to your forum root folder.

Quote:

Originally Posted by powerful_rogue (Post 1384494)
Stange, Ive got setting down the left hand side saying "Name that tune options".
Did you try looking under VBOptions?

Thats right if you have installed all the files in the right place you will see name that tune options in the left menu of admincp

micheal332001 11-17-2007 05:25 PM

Quote:

Originally Posted by powerful_rogue (Post 1383974)
Cool :D

Ive added an attatchment to show a suggestion:

1 = before playing
2 = after playing

I will try and sort this add-on for next release.

Alibass 11-17-2007 07:07 PM

@micheal332001
Quote:

Originally Posted by micheal332001
Upload the content of the UPLOAD folder to your forums root.

It would be nice if you had a UPLOAD folder in your zip file so one wouldn't half to play cat and mouse on where the files need to be placed. :erm:

micheal332001 11-17-2007 09:55 PM

Quote:

Originally Posted by Alibass (Post 1384559)
@micheal332001

It would be nice if you had a UPLOAD folder in your zip file so one wouldn't half to play cat and mouse on where the files need to be placed. :erm:

Hmmm its not that hard is it

the files in the folder admincp goto the folder in your forum admincp
the folder called images goes to your images folder
the includes folder goes to your includes folder

the mmnamett.php goes to the root of your forum

I think that almost everyone that is on here has installed at leased 1 script before and therefore know how to install by now.

Alibass 11-17-2007 11:45 PM

Quote:

Originally Posted by micheal332001 (Post 1384635)
Hmmm its not that hard is it

No it's not hard to do, you just really need to change your instructions if you are not going to offer a UPLOAD folder with all the files in it. That is all I am was saying. :)
Quote:

Originally Posted by micheal332001 (Post 1384635)
I think that almost everyone that is on here has installed at leased 1 script before and therefore know how to install by now.

You would really be surprised!

I have installed your mod and it is very nice. I am running 3.6.8 PL2 and MySQLi
I run across what looks like an error "Array" and I have attached a pic. I know you don't offer support, but was wondering if you could look at it.

Regards
Alibass


https://vborg.vbsupport.ru/

https://vborg.vbsupport.ru/

micheal332001 11-18-2007 02:14 PM

Quote:

Originally Posted by Alibass (Post 1384676)
No it's not hard to do, you just really need to change your instructions if you are not going to offer a UPLOAD folder with all the files in it. That is all I am was saying. :)


You would really be surprised!

I have installed your mod and it is very nice. I am running 3.6.8 PL2 and MySQLi
I run across what looks like an error "Array" and I have attached a pic. I know you don't offer support, but was wondering if you could look at it.

Regards
Alibass


https://vborg.vbsupport.ru/%5Burl=ht...g%5D%5B/url%5D

https://vborg.vbsupport.ru/%5Bquote=...001;1384635%5D

To fix this login to your admincp and edit the template MMNAMETT you will see there Welcome to name that tune
You have $usercash cash points
or some thing like this.

Just remove this text and the error will be gone

Alibass 11-18-2007 02:46 PM

Quote:

Originally Posted by micheal332001 (Post 1384946)
To fix this login to your admincp and edit the template MMNAMETT you will see there Welcome to name that tune
You have $usercash cash points
or some thing like this.

Just remove this text and the error will be gone

Sorry, I do not see that in the MMNAMETT template. Only thing I see with anything that says name that tune is:
Code:

<tr>
            <td class="tcat">
                <span class="smallfont"><a href="mmnamett.php?$session[sessionurl]">$vboptions[bbtitle] Name That Tune </a></span>
            </td>
        </tr>

Seems the error is here and has something to do with $current:
Code:

<td class="alt1" align="center" valign="top">
                        $current
    </td>

I have installed your nocash updated hack.

Alibass 11-18-2007 03:35 PM

Quote:

Originally Posted by micheal332001 (Post 1384946)
To fix this login to your admincp and edit the template MMNAMETT you will see there Welcome to name that tune
You have $usercash cash points
or some thing like this.

Just remove this text and the error will be gone

I seem to have fixed the problem by adding < in front of $current = <$current as shown below:
Code:

<td class="alt1" align="center" valign="top">
                        <$current
    </td>
  </tr>


Alibass 11-18-2007 03:55 PM

Quote:

I seem to have fixed the problem by adding < in front of $current = <$current as shown below:
Looks like this fix will only work with FF and not IE. I don't have any of the other browsers to test with. :(

micheal332001 11-18-2007 06:15 PM

Quote:

Originally Posted by Alibass (Post 1385001)
I seem to have fixed the problem by adding < in front of $current = <$current as shown below:
Code:

<td class="alt1" align="center" valign="top">
                        <$current
    </td>
  </tr>


adding the < with the $current will not do any thing as thats not the problem.

I will sort this out soon and post new updates for the cash version and the no cash version.

micheal332001 11-18-2007 08:51 PM

Hi all

Im in the process of updating this script.
What i have done is put the cash system and the no cash system all in one script.
It will have 2 swf files come with it and when in the admincp settings of the name that tune you choose if you want to use a cash system or not and the script will choose the right swf file to use.

I will post some screen shots when i have sorted more out on the admin side of things.

Alibass 11-19-2007 02:31 PM

Looking forward to the new script. :)


All times are GMT. The time now is 05:52 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.01717 seconds
  • Memory Usage 1,916KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (25)bbcode_quote_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
  • (40)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