Page Index Toggle Pages: 1 2 [3] 4 5  Send TopicPrint
Very Hot Topic (More than 25 Replies) Quiz Mod 2.3/2.3.1 beta 0.5a (Read 39101 times)
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Quiz Mod 2.3/2.3.1 beta 0.5
Reply #30 - Jan 5th, 2009 at 1:15am
Print Post  
Though the old version of this would have worked on 2.3.1, I have released a new zip in the first post which now adds tabs via Carsten's tab thing, so no deleting, editing, or doing anything else with taborder.txt.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: Quiz Mod 2.3/2.3.1 beta 0.5
Reply #31 - Jan 5th, 2009 at 1:50am
Print Post  
Just had a look at the code - you already have the "Quizzes" tab hardcoded in the mod - therefor the small .tab file should only contain info about the nams and location of the tab. Here's a quote from the readme.txt file (i've changed the elements to show how your file should look):

From the readme.txt file Quote:
If you for some reason have hardcoded the tab in your
mod and only want to add it to the taborder.txt file
this is the format (IMPORTANT that you only add these
two elements to the text file):
-----------------------------------------------------

%newtab=(
'tabtext' => 'quiz',
'addafter' => 'ml',
);

1;

-----------------------------------------------------
« Last Edit: Jan 5th, 2009 at 3:10am by Carsten »  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Quiz Mod 2.3/2.3.1 beta 0.5
Reply #32 - Jan 5th, 2009 at 1:52am
Print Post  
Not trying to be a pest, just trying to learn ...

Since the mod seems to work with the other version of the text file, what kind of damage has this done?

Do I need to worry about cleaning up any problems it has created in my forum?

Either way, zip package now updated.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: Quiz Mod 2.3/2.3.1 beta 0.5a
Reply #33 - Jan 5th, 2009 at 2:16am
Print Post  
Nah - no fatal damage  Smiley

I guess it will have created the "Quizzes" tab as a custom tab. Have a look in "Edit tabs". You can delete it there and then upload the smaller .tab file to add it back as a hardcoded tab.
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: Quiz Mod 2.3/2.3.1 beta 0.5a
Reply #34 - Jan 5th, 2009 at 3:13am
Print Post  
oups - sorry. I assumed that "Quizzes" was the action fot the quiz - it's not. Now i've changed the text for the 'tabtext' element in the quote in my prev. reply to 'quiz' as it should be.
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Quiz Mod 2.3/2.3.1 beta 0.5a
Reply #35 - Jan 5th, 2009 at 3:40am
Print Post  
OK, frst post updated.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Quiz Mod 2.3/2.3.1 beta 0.5a
Reply #36 - Jan 5th, 2009 at 7:52pm
Print Post  
Thx for the update! Runs well!
  
Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Quiz Mod 2.3/2.3.1 beta 0.5a
Reply #37 - Jan 5th, 2009 at 8:04pm
Print Post  
Thank you, Mick!

I'm busy installing CCarr's quizzes on my test board to give it a real workout. (And have some fun at the same time.)
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
chillipepper
Full Member
***
Offline


I love YaBB 1G - SP1.2!

Posts: 189
Joined: Jul 1st, 2008
Gender: Male
Re: Quiz Mod 2.3/2.3.1 beta 0.5a
Reply #38 - Jan 18th, 2009 at 11:31am
Print Post  
maybe its just me,but i seem to get an error on last step.  Huh
  
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Quiz Mod 2.3/2.3.1 beta 0.5a
Reply #39 - Jan 18th, 2009 at 6:04pm
Print Post  
If you have already installed Carsten's YaMMS mod, it has added itself into the middle of where this mod is looking for.

1st suggestion, uninstall YaMMS, install the quiz mod, then install YaMMS.

2nd suggestion, give me a couple of hours, and I will include a second mod file to install on top of YaMMS.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Quiz Mod 2.3/2.3.1 beta 0.5a
Reply #40 - Jan 18th, 2009 at 6:27pm
Print Post  
New zip file in first place includes a YaMMS compatible mod, in case you have installed YaMMS before this one.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Fps_Brian
Full Member
***
Offline



Posts: 130
Location: Beach Haven
Joined: Aug 14th, 2008
Gender: Male
Re: Quiz Mod 2.3/2.3.1 beta 0.5a
Reply #41 - Jan 18th, 2009 at 11:34pm
Print Post  
I really like this mod, but is there a way I can change the text "Add a new quiz" to be an image?



I made this real fast
  

www.omgot.org
65+ mods installed
Back to top
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Quiz Mod 2.3/2.3.1 beta 0.5a
Reply #42 - Jan 19th, 2009 at 7:25pm
Print Post  
I'm afraid that one is beyond my expertise.

Maybe one of the pros around here can suggest a hack.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Quiz Mod 2.3/2.3.1 beta 0.5a
Reply #43 - Jan 19th, 2009 at 8:17pm
Print Post  
Find this in Sources/Quiz.pl

Code
Select All
	$imgnewquiz = qq~<a href="$scripturl?action=quizadd" class="imgcatbg">$quiztxt{'2'}</a>~; 



And replace it with this:

Code
Select All
	$imgnewquiz = qq~<a href="$scripturl?action=quizadd" class="imgcatbg"><img src="path_to_your_image/yourimage.gif" alt="$quiztxt{'2'}" title="$quiztxt{'2'}" border="0" /></a>~; 



...Obviously change the highlighted to point to your image...
  
Back to top
 
IP Logged
 
Fps_Brian
Full Member
***
Offline



Posts: 130
Location: Beach Haven
Joined: Aug 14th, 2008
Gender: Male
Re: Quiz Mod 2.3/2.3.1 beta 0.5a
Reply #44 - Jan 19th, 2009 at 11:22pm
Print Post  
Thanks, it worked!
Code
Select All
	$imgnewquiz = qq~<a href="$scripturl?action=quizadd" class="imgcatbg"><img src="$modimgurl/quiz/new_quiz.gif" alt="$quiztxt{'2'}" title="$quiztxt{'2'}" border="0" /></a>~;  



I had to add a $ before the modimgurl.
  

www.omgot.org
65+ mods installed
Back to top
IP Logged
 
Page Index Toggle Pages: 1 2 [3] 4 5 
Send TopicPrint