[ABD] Buttons menu MOD 2.3.0 + subsilver2

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
ViciousDuck
Registered User
Posts: 12
Joined: Sat Oct 11, 2008 1:12 am

Re: [RC] Buttons menu 1.0.2

Post by ViciousDuck » Tue Oct 28, 2008 7:08 pm

In the config menu I had the img src set correctly, without the second own_buttons, does it tag on the own buttons automatically when you set the color to own buttons?

Karl1987
Registered User
Posts: 106
Joined: Thu Jan 17, 2008 11:29 pm
Location: México

Re: [RC] Buttons menu 1.0.2

Post by Karl1987 » Tue Oct 28, 2008 7:54 pm

what putting the menus without images? i use the version without acp

User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC] Buttons menu 1.0.2

Post by Kamahl19 » Tue Oct 28, 2008 10:06 pm

yes, write the src without folder of images. if you chose own_buttons then write the src withhout own_buttons. when you select blue, then write without blue. sorry for my english i am drunk and i am going to sleep

User avatar
ViciousDuck
Registered User
Posts: 12
Joined: Sat Oct 11, 2008 1:12 am

Re: [RC] Buttons menu 1.0.2

Post by ViciousDuck » Wed Oct 29, 2008 3:11 am

Kamahl19 wrote:yes, write the src without folder of images. if you chose own_buttons then write the src withhout own_buttons. when you select blue, then write without blue. sorry for my english i am drunk and i am going to sleep
Ok, didn't know that, that was my problem...
Also, how would you make it so a certain button acts as the corners? Like on phpbb.com, they made the button image so it looks like a corner, and then they added the image so it would be the very first image...on the edge.

How would you accomplish a similar affect, assuming you already have a button, probably in the css file or something, but in 5 sec. I spent looking I couldn't find it.

User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC] Buttons menu 1.0.2

Post by Kamahl19 » Wed Oct 29, 2008 1:23 pm

you have to delete left corner and rewrite css a little, then redone left button

User avatar
ViciousDuck
Registered User
Posts: 12
Joined: Sat Oct 11, 2008 1:12 am

Re: [RC] Buttons menu 1.0.2

Post by ViciousDuck » Wed Oct 29, 2008 5:46 pm

Kamahl19 wrote:you have to delete left corner and rewrite css a little, then redone left button
yeah, I had already deleted the left corner, I just didn't know what to edit in the css.

User avatar
johnakeating
Registered User
Posts: 31
Joined: Wed May 07, 2008 7:49 pm
Location: Los Gatos, CA, USA
Contact:

Re: [RC] Buttons menu 1.0.2

Post by johnakeating » Tue Nov 04, 2008 1:59 am

Hello,

I am using the overlord theme and have read all the post and still can put anything together as why it list the buttons downward and not how it is supposed to be.

I have clear both caches and check the placement of the code and addin files.

if anyone have any ideas please post them.

or maybe it is just not compatible with overlord.
Thanks!

http://www.learnios.com

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [RC] Buttons menu 1.0.2

Post by MrC » Tue Nov 04, 2008 7:17 am

Please post your overall_header code using the

Code: Select all

 tags so we can have a look at it

User avatar
johnakeating
Registered User
Posts: 31
Joined: Wed May 07, 2008 7:49 pm
Location: Los Gatos, CA, USA
Contact:

Re: [RC] Buttons menu 1.0.2

Post by johnakeating » Tue Nov 04, 2008 7:41 am

Thanks for taking a look.


Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="{PAGE_KEYWORDS}" />
<meta name="description" content="{PAGE_DESCRIPTION}" />
{META}
<title><!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE} &bull; {SITENAME}</title>
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.learnios.com/rss.php" />
<!--
	phpBB style name: prosilver
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by:      
	
	NOTE: This page was generated by phpBB, the free open-source bulletin board package.
	      The phpBB Group is not responsible for the content of this page and forum. For more information
	      about phpBB please visit http://www.phpbb.com
-->

<script type="text/javascript">
// <![CDATA[
	var jump_page = '{LA_JUMP_PAGE}:';
	var on_page = '{ON_PAGE}';
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';
	var style_cookie = 'phpBBstyle';
	var onload_functions = new Array();
	var onunload_functions = new Array();

	<!-- IF S_USER_PM_POPUP -->
		if ({S_NEW_PM})
		{
			var url = '{UA_POPUP_PM}';
			window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
		}
	<!-- ENDIF -->

	/**
	* Find a member
	*/
	function find_username(url)
	{
		popup(url, 760, 570, '_usersearch');
		return false;
	}

	/**
	* New function for handling multiple calls to window.onload and window.unload by pentapenguin
	*/
	window.onload = function()
	{
		for (i = 0; i <= onload_functions.length; i++)
		{
			eval(onload_functions[i]);
		}
	}

	window.onunload = function()
	{
		for (i = 0; i <= onunload_functions.length; i++)
		{
			eval(onunload_functions[i]);
		}
	}

// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>

<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />

<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />

<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
	<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->

<link href="{T_THEME_PATH}/style.css" rel="stylesheet" type="text/css" media="screen, projection" />

</head>

<!-- INCLUDE ads/ads.js -->

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<div class="outside">
<div class="top-left"></div><div class="top-center"></div><div class="top-right"></div>
<div class="inside">
<div class="notopgap">

<div id="wrap">
	<a id="top" name="top" accesskey="t"></a>
	<div id="page-header">

		{ADS_1}

		<div class="headerbar">
			<div class="inner"><span class="corners-top"><span></span></span>

			<div id="site-description">
				<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
				<h1>{SITENAME}</h1>
				<p>{SITE_DESCRIPTION}</p>
				<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
			</div>

		<!-- IF ( S_DISPLAY_SEARCH and not S_IN_SEARCH ) and not ( S_MENU_ENABLED and S_MENU_SEARCH ) -->
			<div id="search-box">
				<form action="{U_SEARCH}" method="post" id="search">
				<fieldset>
					<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" /> 
					<input class="button2" value="{L_SEARCH}" type="submit" /><br />
					<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
				</fieldset>
				</form>
			</div>
		<!-- ENDIF -->


<!-- IF S_MENU_ENABLED -->
	<span class="corners-bottom" style="height:0px;"><span></span></span></div>
</div>
<div id="menu" class="{S_MENU_COLOR} menu-<!-- IF S_MENU_MARGIN -->thin<!-- ELSE -->no<!-- ENDIF -->margin" style="clear:both">
	<div class="inner">
	<span class="corner-left"></span>
	<span class="corner-right"></span>
<!-- IF S_DISPLAY_SEARCH and S_MENU_SEARCH -->
	<div id="top-search">
		<form action="{U_SEARCH}" method="post" id="search">
		<fieldset>
			<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="menu_search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" /> 
			{S_SEARCH_HIDDEN_FIELDS}
		</fieldset>
		</form>
	</div>
<!-- ENDIF -->
	<ul class="menu_buttons">
	<!-- BEGIN menu -->
		<li><a href="{menu.BUTTON_URL}" title="{menu.BUTTON_NAME}"<!-- IF menu.BUTTON_TARGET --> target="_blank"<!-- ENDIF -->><span style="background-image:url('{menu.BUTTON_SRC}'); width:{menu.BUTTON_WIDTH}px">{menu.BUTTON_NAME}</span></a></li>
	<!-- END menu -->
	</ul>
<!-- ENDIF -->

			<span class="corners-bottom"><span></span></span></div>
		</div>

		<div class="navbar">
			<div class="inner"><span class="corners-top"><span></span></span>

			<ul class="linklist navlinks">
				<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>

				<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li>

				<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
			</ul>

			<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
			<ul class="linklist leftside">
				<li class="icon-ucp">
					<a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="u">{L_PROFILE}</a>
						<!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF --> &bull; 
					<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
					<!-- IF U_RESTORE_PERMISSIONS --> &bull;
					<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>
					<!-- ENDIF -->
				</li>
			</ul>
			<!-- ENDIF -->

			<ul class="linklist rightside">
<li><a href="{U_RSS}" title="{L_RSS_EXPLAIN}"><img src="styles/overlord/theme/images/icon_rss.gif"/></a></li>
	
				<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
				<li class="icon-members"><a href="map.php" title="MAP">Map of Visitors</a></li>
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
					<!-- IF not S_USER_LOGGED_IN --><li class="icon-register"><a href="{U_REGISTER}">Join The Group</a></li><!-- ENDIF -->
					<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">{L_LOGIN_LOGOUT}</a></li>
				<!-- ENDIF -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>

<!--
	
Change wording back to reg

<!-- IF not S_USER_LOGGED_IN --><li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->


-->




	</div>
	{ADS_2}
	<a name="start_here"></a>
	<div id="page-body">
		
		 <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) --> 
		<div id="message" class="rules">
			<div class="inner"><span class="corners-top"><span></span></span>
				<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF -->

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [RC] Buttons menu 1.0.2

Post by MrC » Tue Nov 04, 2008 7:52 am

Seems to be ok.
You did clear the cache and refreshed the right theme and template?

Do you have another theme installed like prosilver?

User avatar
johnakeating
Registered User
Posts: 31
Joined: Wed May 07, 2008 7:49 pm
Location: Los Gatos, CA, USA
Contact:

Re: [RC] Buttons menu 1.0.2

Post by johnakeating » Tue Nov 04, 2008 8:12 am

Yep refreshed both..

I copied my overlord theme into a new folder called prosliver and it is working now.
Then if I set it back to overlord theme it stops working again.

maybe a path is set to /styles/prosliver/

????

Thanks again!

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [RC] Buttons menu 1.0.2

Post by MrC » Tue Nov 04, 2008 8:20 am

Yesterday i succesfully installed it using prosilver_se, besides the changes in the ACP to showup the buttons I didn't change anything to the code.

You did run the installer?

Patriz
Registered User
Posts: 43
Joined: Sun May 29, 2005 8:27 am

Re: [RC] Buttons menu 1.0.2

Post by Patriz » Tue Nov 04, 2008 8:43 am

Hi!

If I try to run the installer I got the following error message.

Code: Select all

SQL ERROR [ mysql4 ]

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '(1024) NOT NULL, button_name varchar(100) NOT NULL, [1064]

SQL

CREATE TABLE phpbb_menu ( button_id int(255) NOT NULL, button_url text(1024) NOT NULL, button_name varchar(100) NOT NULL, button_src text(1024) NOT NULL, button_target int(1) NOT NULL, button_width int(255) NOT NULL )DEFAULT CHARSET=utf8 COLLATE=utf8_bin

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal_mysql->sql_error()

FILE: install_menu/install.php
LINE: 92
CALL: dbal_mysql->sql_query()
Do anybody have a idea what is gone wrong?

Regards Patriz

Karl1987
Registered User
Posts: 106
Joined: Thu Jan 17, 2008 11:29 pm
Location: México

Re: [RC] Buttons menu 1.0.2

Post by Karl1987 » Thu Nov 06, 2008 5:20 am

mmmmmmm what version of mysql your use?

Patriz
Registered User
Posts: 43
Joined: Sun May 29, 2005 8:27 am

Re: [RC] Buttons menu 1.0.2

Post by Patriz » Thu Nov 06, 2008 8:28 am

Hi!
Karl1987 wrote:mmmmmmm what version of mysql your use?
Server Version: 4.0.27-max-log

But actually the sulution is not so much important because I found a possibility to install the mod if I use the install file without the SQL-Commant "DEFAULT CHARSET=utf8 COLLATE=utf8_bin".

Additionally I changed to the version without the management option in ACP. This solution was smarter for my board because so I can manage which button will be displayed in depending of the forumrights of the users (e.g.

Code: Select all

<!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><li id="menu_button1" style="width:90px;"><a href="{U_PROFILE}" title="{L_PROFILE}"><span>Button1</span></a></li><!-- ENDIF -->
)

Thank you for you help an see my advice for impovement of further versions.

Regards Patriz

Regards Patriz

Locked

Return to “[3.0.x] Abandoned MODs”