installation issues

All web design discussion, including Ultimate Quiz MOD support.

Moderator: CricketMX Forum Moderators

mynfel
Greenhorn
Greenhorn
Posts: 1
Joined: Tue Jun 14, 2005 2:37 am

I actually have most of the installation working, but two things appear to be incorrect. One is in the overall_header.tpl - with the lines:

<span class="mainmenu">&nbsp; &nbsp;<a href="{U_QUIZ}" class="mainmenu"><img src="templates/thorns/images/icon_mini_quiz.gif" width="12" height="13" border="0" alt="{L_QUIZ}" hspace="3" />{L_QUIZ}</a></span>

With this code, the link to Quiz shows up in the header - but the link doesn't go anywhere - just back to the index. I know the link exists because if I type in in manually (i.e. /thorns/quiz.php it works just fine. Thoughts?

Also when I go to actually click on a quiz and it starts up - underneath the title of the quiz is a box with an x - clicking on the box toggles the statistics bar. What graphic is supposed to be here?

I have several other mods installed, including the categories mod. Thanks.
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Have you changed the setting to Categories Hierachy installed? (Information on how to do this is in the install file).

As for the x issue, it sounds like you haven't uploaded the image files :)

The link issue was resolved in 1.0.6 :)
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Jazz(FU)
Greenhorn
Greenhorn
Posts: 9
Joined: Tue Jul 12, 2005 7:14 am

I also installed 1.0.3 and have the ame problem with the link simply repeating the current page. I also have the latest version of the Cat Heirarchy mod installed on phpbb2.0.15

And yes, i set $categories_hierachy_on to "On" as instructed in the install file.
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

I'm pretty sure I fixed that in 1.0.4 or 1.0.5, seeing the latest version is 1.0.6, I would suggest updating to it as that should fix the problem. Let me know how you go, thanks :)
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Jazz(FU)
Greenhorn
Greenhorn
Posts: 9
Joined: Tue Jul 12, 2005 7:14 am

I am using 1.0.6
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Did you reapply the changes to page_header.php?
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Jazz(FU)
Greenhorn
Greenhorn
Posts: 9
Joined: Tue Jul 12, 2005 7:14 am

reapply? These changes are the only ones i see.

Code: Select all

# 
#-----[ OPEN ]------------------------------------------ 
#
includes/page_header.php
# 
#-----[ FIND ]------------------------------------------ 
#
	else
	{
		// We have a nested array, used for items like <link rel='chapter'> that can occur more than once.
		while( list(,$nested_array) = each($nav_array) )
		{
			$nav_links_html .= sprintf($nav_link_proto, $nav_item, $nested_array['url'], $nested_array['title']);
		}
	}
}
# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
	// Check if there is only one quiz category
	if($board_config['quiz_one_category'] == "On")
	{
	$category_number = '1'; // Change this if for some reason you do not use id '1' as your only category
	$quizlink = append_sid('quiz.' . $phpEx . '?category=' . intval($category_number) . '');
	}
	
	else if($board_config['quiz_one_category'] == "Off")
	{
	$quizlink = append_sid("quiz.$phpEx");
	}
# 
#-----[ FIND ]------------------------------------------ 
#
	'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>'),
# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
	'L_QUIZ' => $lang['L_quiz'],
	'U_QUIZ' => $quizlink,
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

This line is very important, make sure it is exactly as follows:

Code: Select all

$quizlink = append_sid('quiz.' . $phpEx . '?category=' . intval($category_number) . '');
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Jazz(FU)
Greenhorn
Greenhorn
Posts: 9
Joined: Tue Jul 12, 2005 7:14 am

battye wrote:This line is very important, make sure it is exactly as follows:

Code: Select all

$quizlink = append_sid('quiz.' . $phpEx . '?category=' . intval($category_number) . '');
exactly.
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Can you please post a link to your site? Thanks :)
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Jazz(FU)
Greenhorn
Greenhorn
Posts: 9
Joined: Tue Jul 12, 2005 7:14 am

http://www.bornforthegame.com/forums/

If i type in http://www.bornforthegame.com/forums/quiz.php you get the quiz page, but the link in the header doesnt work.
Jazz(FU)
Greenhorn
Greenhorn
Posts: 9
Joined: Tue Jul 12, 2005 7:14 am

Any ideas?
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Have you got the one category setting on by any chance?
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Jazz(FU)
Greenhorn
Greenhorn
Posts: 9
Joined: Tue Jul 12, 2005 7:14 am

No that setting was not changed. The defeault is in place.

Code: Select all

$category_number = '1'; // Change this if for some reason you do not use id '1' as your only
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Hmm, can you post the quiz section of overall_header.tpl please (the one you are using). I'm wondering if something hard-coded is there.
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Post Reply