Quote:
Hi Lynne, and thank-you for the quick response. It only appears to be occuring when viewing with IE8 (yep, agree that it is crap, but unfortunately most of the government departments here in Oz are still using it)... Also only occurs when not logged on (ie. as a guest) and is okay once logged in. :confused: Specific pages are: http://www.aiyj.org/vb/about_aiyj.php http://www.aiyj.org/vb/aiyj_news.php http://www.aiyj.org/vb/faq.php http://www.aiyj.org/vb/aiyj_associate.php http://www.aiyj.org/vb/aiyj_member.php Cheers, Ian |
Your navtab template is all messed up. Your html is totally incorrect. firefox and other browsers are most likely "correcting" it for you and IE is giving you exactly the mess you are outputting. This is the html you have for what should be the third tab (you have a blank <li> </li> for the second tab, and your fourth tab, according to your html, is the About Us tab).
HTML Code:
<li class="selected" style="padding:0px"> If you need more help, you really need to post int he main forums as this isn't a thread for fixing html problems in your navbar template. |
Lynne what approach should we take when wanting to create a custom admin panel options page say for a custom product? I know how to crate an new options group but I don't want all the settings to be under one setting group. I want subgroups to not appear in the main settings menu, rather a submenu in the admin panel with custom pages like so:
https://vborg.vbsupport.ru/ The first one (General Settings take you to http://xxxxxxxxx.xxxx/admincp/option...p=oftw.options ) but the others I want separate custom pages for the rest of the options. I am assuming that these pages differ some what of the pages mentioned in this thread but I thought I'd ask anyway to get some sense of direction if you had any to offer. I didn't mean to bogard the thread so my apologize ahead of time. :) Any help I could get will be very much appreciated. Thanks. |
Quote:
|
Quote:
So I can use this method even though it's dated over 6 years ago? |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
I'm hoping someone can point me in the right direction here. I am needing to align an Iframe on the same line as a flash object. I created a new page via Lynne's incredible article. Now I'm just needing to set these two objects side by side instead of being one above the other. Here's the code:
Code:
{vb:stylevar htmldoctype} |
Quote:
|
Quote:
|
Quote:
Fixed it. Actually had nothing to do with the navbar template being "all messed up" as you so eloquently put it (and given that you just took the page source code, not sure that you could say so with such confidence as you did...) The problem was that I had placed an 'if member' condition around some java while trying to restrict the sub-navbar to members only...my bad... I'm really sorry that I inconvenienced you so, as I was just looking for some help from more experienced people like yourself. Regards, Ian |
Quote:
|
i install pretty cool but i have problem on this two plugins '
hook location - online_location_process: and hook location online_location_unknown: where do i put this two codes ? how can i add this code to my template |
Quote:
|
1 Attachment(s)
Hello Lynne and all,
I'm rather new to VB and trying to learn. Your tutorial was a great help and following it I managed easily to create a page which works very well, thanks a lot for it. But I have a slight problem which I can't explain : at the top of this particular test page are some strange characters which don't appear on other pages. I join an image so that you can see it. I verified that there was absolutely nothing before the <?php in the php page and before the {vb:stylevar htmldoctype} in the template, and I made the pages with Notepad. Any idea ? Thanks for your very useful help Attachment 132056 |
I've seen that before but can't remember what was causing it. But you have to remember, vb works by collecting up all the output into a string and printing it at the end. So those characters could come from any code that's executed, and not just from the very beginning of the script.
|
And notepad is not a suitable editor for web used files. Use notepad++ instead to edit and save files.
|
Quote:
@Cellarius : it's Notepad++ I meant, of course ^^ Thanks for your answers anyway Edit : I just tried to use a hook instead of an external php file, following the method of Cellarius Code:
$templater = vB_Template::create('my_own_template'); |
ok, about to pull my hair out here. I need for the content (in this case a podcast) to show up on a RSS Feed. Just like the forums would, but for this custom page. How do I go about doing that?
|
Quote:
|
//edit: Sorry used the wrong Tab to post, should be in another topic.
|
Anyone have an idea why I can't get this script warking with this page but can on main forum section?
Code:
<body> |
Quote:
|
Lynn,
I can't get this to work. I am on vb 4.1.5. Here's what I have done. PHP File Code: Code:
<?php Code:
{vb:stylevar htmldoctype} location process Code:
switch ($filename) Code:
switch ($userinfo['activity']) Thanks in advance |
Quote:
|
To add to Mark's comment, you cannot use echo in your php and have it show up in the correct spot in your template. You need to assign any output to a variable that you then register for use in your template.
|
Quote:
Quote:
Thanks for your replies, I will add the template to each of the styles to see what that does. EDIT: Adding the template to all the styles fixed it...Thanks a lot! |
Sorry but I'm unable to follow these instructions, it's really confusing.
--------------- Added [DATE]1317740356[/DATE] at [TIME]1317740356[/TIME] --------------- I want a navtab that displays a copy of my forumhome but without it's contents. --------------- Added [DATE]1317748066[/DATE] at [TIME]1317748066[/TIME] --------------- Ok I have created the new page but I can only see it when I type in the exact url in the address bar, there is no navbar tab. This new page I want is just to display a single youtube int he center but I can't figure it out, any help? Thanks. |
I'm not sure what your going for, but this for creating a vB powered page. So having to use the exact URL to get to it, is kind of the point. If you want a new tab, that's another tutorial altogether.
If there's no navbar, then you haven't copied all the code into your template. Putting in a video would be as simple as putting the embed code in place of the word "Text" in the sample template. |
What im wonder is; how would i pull a certain thread like headline use and post that on my home page as a custom page? I want it to loose similar to mmo-champion.com if you dont mind looking at that website and getting the idea of what i mean. I really dont feel like using strange php scripts just to post news on my site. Even though i want my forum separate from my entire site, i would like to integrate a part of my forum so certain threads show up on my home page and i can the use vbulletin to post a thread and then use that thread and post a custom page on my site showing only that thread and not the whole forum.
|
Quote:
|
Quote:
|
Quote:
|
If I have an application `/app/`, separate from the forum `/forum/` but I want to wrap the output of `/app/` in vBulletin's page template.
Problem is, none of the images show up. They are using the current path, `/app/` to get the CSS and images, and since they don't exist, they don't show up. How can I fix this? Thank you. :) EDIT: The fix was a base tag. I also forgot vB_Template::register_page_templates. |
Perhaps use the <base> tag to point to the different directory?
|
Quote:
Edit: I forgot vB_Template::register_page_templates. xD |
I'm not really sure search for, so I apologize if this has already been asked and answered in this thread:
Is it possible to make it so vBulletin does not display when someone is viewing my custom page on the who's online list? I'm creating a 404 page which is integrated into vBulletin so the entire website is seamless and it's rather annoying right now to see a list of "Unknown Location <insert url to non-existant file>" on the Who's Online list. |
Quote:
|
All times are GMT. The time now is 05:08 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|