Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 03-26-2007, 05:06 AM
chuckrobbie chuckrobbie is offline
 
Join Date: Jul 2006
Location: durban, South Africa
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, so many responses and Hambil thank you so much for offering me some support!
I live in South Africa, a country that is the MOST expensive in the world for Internet, and my "broadband" at 30k/s with a 3 gig cap costs US$150 (10% of my salary) a month, so when I have these problems loading and uploading to my server, my cap is gone quickly!

My problem is this...I start loading the mods...As I get to the end of the process, they all say...go into templates and where you see "x", add "y" under it...that is fine, but on none of them do I find the "x"!!!!NAVBAR especially!!!

Latest example...Official AddonChat
It says find this in navbar...
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>

then add this under it...
<!-- AddonChat -->
<td id="sigmachat" class="vbmenu_control">
<a href="$show[nojs_link]#sigmachat">$vbphrase[sigmachat_title] $chatcountbrack</a>
<script type="text/javascript"> vbmenu_register("sigmachat"); </script></td>
<!-- /AddonChat -->

JOKE!!! Like all the mods that require this sort of thing, the "find" is NOT THERE!!!

With regards to the version I had before, it was 3.5.4 sorry about that!!

Cheers
Chuck
Reply With Quote
  #12  
Old 03-26-2007, 06:18 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, the problem is you are trying to make template changes to a heavily modified skin. All the templates have changed. It's going to take some work. We'll have to go through each mod change one at a time.

Here is what I suggest:

1: Setup a test board (vbulletin allows one test board in their licensing, so it's not an issue).

2: Add your skin.

3: Install one hack at a time and as soon as you run into a problem post it here and we'll see if we can't find the solution. Don't keep going until we fix the problem, or you'll just confuse things.

4. Be patient - I'll answer and help, and I'm sure others will, but we also have other things to do and we want to see that you are putting in time and effort and learning as we go, too

Quote:
Originally Posted by chuckrobbie View Post
Latest example...Official AddonChat
It says find this in navbar...
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>

then add this under it...
<!-- AddonChat -->
<td id="sigmachat" class="vbmenu_control">
<a href="$show[nojs_link]#sigmachat">$vbphrase[sigmachat_title] $chatcountbrack</a>
<script type="text/javascript"> vbmenu_register("sigmachat"); </script></td>
<!-- /AddonChat -->

JOKE!!! Like all the mods that require this sort of thing, the "find" is NOT THERE!!!

With regards to the version I had before, it was 3.5.4 sorry about that!!
Yup - it's because you have modified templates. Here is how I would do it (using the case you show above as an example).

Clearly the chat is trying to place a menu for itself after the calendar in your nav bar. Everyone seems to want to go after the calendar - I guess it's become sort of a defacto standard.

So what you want to do, is search for "calendar", and what you will find is lines that look sort of like the ones you are looking for, but not exactly. They should have calendar.php and $vbphrase[calendar] in them at least.

Then just add the code after that. If you are confused, show us the line with the calender.php and a few lines before and after it, and we should be able to see what's going on.
Reply With Quote
  #13  
Old 03-26-2007, 07:19 AM
chuckrobbie chuckrobbie is offline
 
Join Date: Jul 2006
Location: durban, South Africa
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant find calandar anywhere!!
Here is my navbar

HTML Code:
<script type="text/javascript">
<!--
function log_out()
{
	ht = document.getElementsByTagName("html");
	ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
	if (confirm('$vbphrase[sure_you_want_to_log_out]'))
	{
		return true;
	}
	else
	{
		ht[0].style.filter = "";
		return false;
	}
}
//-->
</script>

<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="alt1" width="100%">
		<if condition="is_array($navbits)">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr valign="bottom">
				<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
				<td>&nbsp;</td>
				<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
			</tr>
			<tr>
				<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
			</tr>
			</table>			
		<else />
			<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
		</if>
	</td>	
	
	
</tr>
</table>
<!-- / breadcrumb, login, pm info -->


<br />
<if condition="$show['forumdesc']">
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
	</tr>
	</table>
	<br />
</if>

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
	
	<if condition="$show['searchbuttons']">
	<!-- header quick search form -->
	<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
		<form action="search.php?do=process" method="post">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr>
			<td class="thead">$vbphrase[search_forums]</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
				<input type="hidden" name="do" value="process" />
				<input type="hidden" name="quicksearch" value="1" />
				<input type="hidden" name="childforums" value="1" />
				<input type="hidden" name="exactname" value="1" />
				<input type="hidden" name="s" value="$session[sessionhash]" />
				<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
			</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
				<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
				&nbsp;
				<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
			</td>
		</tr>
		<tr>
			<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
		</tr>
		</table>
		</form>
	</div>
	<!-- / header quick search form -->
	</if>

	<if condition="$show['member']">
	<!-- user cp tools menu -->
	<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
		
		<tr><td class="thead">$vbphrase[quick_links]</td></tr>		
		<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
		<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
				
		<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
		<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
		<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
		<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
		
		<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
		<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
		<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
		<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
		
		</table>
	</div>
	<!-- / user cp tools menu -->
	</if>
<!-- / NAVBAR POPUP MENUS -->

<!-- PAGENAV POPUP -->

	<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr>
			<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
			<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
				<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
				<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
			</form>
			</td>
		</tr>
		</table>
	</div>

<!-- / PAGENAV POPUP -->
</if>
Reply With Quote
  #14  
Old 03-26-2007, 07:51 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like your skin has removed the navigation from the navbar template (skinners do the dumbest things sometimes). If you look, your template starts with "<!-- breadcrumb, login, pm info -->". However, looking at the source of your forum home page the navigation is up way, way higher than that before "<!-- Banner Rotator by Redline -->". I'm guessing it's been moved to the header template.

Further, they are using background images instead of text, and they've completely removed the calender (or perhaps you have it disabled).

Their nav section looks like this:

HTML Code:
           <tr>
              <td style="width: 199px;"><img src="RaidArena/misc/links_left.gif" alt="" width="199" height="43" /></td>
              <td style="width: 72px;"><a class="homeover" href="index.php">&nbsp;</a></td>
              <td style="width: 102px;"><a class="usercpover" href="usercp.php">&nbsp;</a></td>

              <td style="width: 109px;"><a class="registerover" href="register.php">&nbsp;</a></td>
              <td style="width: 117px;"><a class="membersover" href="memberlist.php">&nbsp;</a></td>
              <td style="width: 67px;"><a class="faqover" href="faq.php">&nbsp;</a></td>
              <td id="navbar_search" style="background-image:url(RaidArena/misc/links_bg.gif);"><div align="left"><a class="searchover" href="search.php">&nbsp;</a><script type="text/javascript"> vbmenu_register("navbar_search", 1); </script></div></td>
            </tr>
So you would want to put your code under the line <td style="width: 102px;"><a class="usercpover" href="usercp.php">&nbsp;</a></td>.

However, you'll need to create a matching image for it, since your navbar uses images and not text.

My guess if you'll find this code in the header template.

It looks like a pretty poorly built skin IMHO, even if it does look okay in the end. I recommend you get all the hacks installed on default VB, then pay someone to create a skin for you that won't wreck them.
Reply With Quote
  #15  
Old 03-26-2007, 10:38 AM
chuckrobbie chuckrobbie is offline
 
Join Date: Jul 2006
Location: durban, South Africa
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Hambil
Well I did what you said, and started another forum! Started to get along fine, and loaded the following successfully (then errors start)...
Bills PayPal Donate, VBShout and VB Trends all loaded fine to a blank forum...
Then I added the Xeon MP3 player and get this error (I have sent them a PM)

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT COUNT(*) AS id
FROM mp3playlist AS mp3playlist WHERE approvemp3=1;

MySQL Error : Unknown column 'approvemp3' in 'where clause'
Error Number : 1054
Date : Monday, March 26th 2007 @ 04:37:19 AM
Script : http://www.l2wildc5.com/testforum/mp...mp3playerpopup
Referrer :
IP Address : 196.25.255.250
Username : Nutty
Classname : vb_database

Now I will go on to the next one as mentioned in my PM to you.
Cheers
Chuck
Reply With Quote
  #16  
Old 03-26-2007, 11:25 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please remember to enclose code/templates in [code] or [html] tags when posting.
Reply With Quote
  #17  
Old 03-26-2007, 12:24 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm glad you are making some progress. Uninstall the one that isn't working before you install the next mod though. Once you have all the mods installed that will do so without error, we can start on the failed ones one by one.
Reply With Quote
  #18  
Old 03-26-2007, 05:46 PM
chuckrobbie chuckrobbie is offline
 
Join Date: Jul 2006
Location: durban, South Africa
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Hambil
this is where I am at...Besides Team Speak (not showing) and Zoints(not done yet) all the added mods worked.(got the other problems fixed)
I then added a "simple" skin from the forum, and BAM...all the mods are gone again!!Did not even edit a template...just uploaded the xml!!
Now, is there a set routine for uploading stuff? like skin first then the rest? I want the default to be the new skin...Can I remove this as default and revert back to VB?
Another full day wasted! Two weeks I have been at this now and 12 forums later...!!(
I know I am a MAJOR noob dear readers, but hey...give an old man a break LOL!
When I get this working, my next issue will be how to import just my users!!! I dont even want to think about that one!!
Reply With Quote
  #19  
Old 03-26-2007, 06:09 PM
nexialys
Guest
 
Posts: n/a
Default

maybe you're good to have a coder doing the installation of the mods for you, making sure they all work as they supposed to...

there is a lot of people who even say they know how to do the installs but always report bugs that does not exists, just because they are not able to install them properly... i'm not telling that you are an idiot, i'm far from it... but tell me, when you can't repair your car, do you ask your mother or a garage ?!

also, about having the mods here integrated to the core... i can tell you that 75% of my old hacks were integrated to the actual core... because they were requested and useful... Googlemap is for me a gadget, or a widget someone can easily forget about as a useful feature...

having problems seeing hacks when you upload a skin is regular on this place, because you did not ask how to do it at first, and you did not check where you applied your hacks... yes there is a "not-written" rule about applying hacks, and if you navigate thru here or ask in the How-To forum, you will have that answer...:
1- use the Default Style as a placeholder for your hacks
2- import your styles as Child of the Default Style...
3- edit the needed templates that are custom to your new style, if needed.

... as you tell in your last post, maybe you need help, complaining will just give you some relief because you are frustrated, but the best solution will be to ask someone for help...
Reply With Quote
  #20  
Old 03-26-2007, 06:11 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The skin xml can make a ton of template changes (and clearly did). Mixing skins with mods is hard - and the same is true on any board. I personally don't use skins that have template changes on my boards because they are so heavily moded, and even if I made all the changes needed to get the mods to work, it's an upgrade nightmare.

Again, I'd suggest having one of the many very good designers here at the org make you a custom skin with min. template edits.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04595 seconds
  • Memory Usage 2,313KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete