1 Attachment(s)
hi
How do I remove the advertising and Announcements? Thanks, |
Any tips on using these fundamentals for creating a vB wrapper for other scripts?
edit: I've got this part sorted pretty much. I'm making static files updated by chron'ed script to save on overhead. I want the look of the vB4 style I've created to wrap around some other scripts on my site. I've used a plugin to create new tabs to cover these sections. I need to generate the top and bottom (a wrapper) of the page to include in the templates of these other scripts. So, I need to set which tab is 'on' and then generate segments of the page. |
Some of the navtab mods allow you to set a navtab on, and some don't. I know my article and ragtek's artilce about adding navtabs cover setting them on, but I don't know about other mods.
|
Thank you Lynne. I was looking for something like this and it helped me a lot in the hack that I created. :)
|
How would you apply one of the built in layouts to a custom page? I'd like to do this so I can easily add widgets.
|
Quote:
|
Ahh, I see. Thank you. Could you possibly direct me to some reading materials?
|
Hi Lynne!
So I'm trying to create an extra page in my UserCP. I'm finding that although it renders the UserCP template correctly it's missing some fields on the left sidebar. The following don't display: Inbox, Sent Items, Edit Email & Password, Edit Ignore List, All Moderation Listings(Deleted Items, Moderated Items, New Items) My code thus far: PHP Code:
|
Quote:
Quote:
|
Yep for anyone interested I just edited up usercp.php to my liking :)
|
cool! link us to the best docs/posts you referenced
|
Thank you Lynne :up:
I noticed that the code you provided registers two variables, navbar and pagetitle. However, there are six variables listed in the template: vboptions.bbtitle, pagetitle, headinclude, header, navbar, and footer. It seems that four of these variables don't need to be manually registered. Is there a list of all variables that don't need to be registered? |
is it poosible to make the php files more W3C Complaint along with the templates
my templates for the php files are perfect except there not W3C complaint and would like like help converting templates to W3C Complaint |
Sorry if this has been asked before--I was looking for a similar problem but couldn't find any:
Is there a way to include widgets (specifically, I'm thinking of the "Recent Articles" & "Recent Forum Posts" widgets) in a custom page template? Easily, maybe? Thanks much for this impressive walkthrough. |
Quote:
|
Thanks Lynne. This helped me fix a few problems in my template code.
|
Quote:
|
Quote:
|
Don't forget to add:
Code:
{vb:raw headinclude_bottom} Still works great! |
Quote:
Added to the first post. |
lynne,
please can you help with template issues everytime i create a template now, i get the following error for IE8 Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed |
Sorry, but this thread isn't for debuging template issues. If you need help on something other than writing a vB page, you really need to post in the main forums (and possibly on vb.com if this is not regarding a modification).
|
First! thanx for evething!;) but i have a little thing that is going wrong! the footer...
A i see i fixed! forgot a div. ;) |
I'm trying to create a custom page as described above.
However, if I insert HTML where it says "Text" in the template: Code:
<h2 class="blockhead">Title</h2> |
Quote:
|
Tnanks, Lynne. That does seem to be the problem. I'm not certain where the CSS is being set but it seems to have disabled some HTML features, while others are allowed.
For now, I can work around it. |
Great article:) In your examples, what is mypage referring to?
|
I didn't read through this thread to see if it was asked, so I apologize in advanced just in case.
Anyways, I dont want my guests viewing the page I made, but I want my members to view it. How would I do this? |
This is giving me a MAJOR Migraine!! Please-- Can someone help me with this??
I'm trying to append some text or link at the end of the footer using the parse_templates hook in a plugin.. This is my code: PHP Code:
|
Quote:
PHP Code:
Quote:
|
Quote:
|
Quote:
|
Quote:
https://vborg.vbsupport.ru/showpost....8&postcount=82 |
Quote:
|
Thank you very much, it took me ages to work out (my silliness). I read every post, just as i was about ask a question, i figured it out.
My advice to others read through before posting and double check everything, the smallest mistake will ruin your efforts! :D Thank you again! |
What exactly is the point of making extra pages? Is it to run certain scripts, like from a mod you make or something?
|
Quote:
Glad to hear you got yours to work for you! :) --------------- Added [DATE]1267963665[/DATE] at [TIME]1267963665[/TIME] --------------- Quote:
|
Okay. If you wanted to create a script to run in the Admin CP, how exactly would you get the page to go (look-wise) with the other pages in the Admin CP? Same question applies for a page in the main forum area.
|
Quote:
|
I just meant that all the pages in the Admin area have a common theme with each other (the navigation menu on the left, the same colors, same style of buttons, etc.). In the same way, the main forum area has its own theme with its pages (same colors and buttons, etc.). What I was asking is what do you do to get your custom pages to go with the theme of the area they're in. If you're making a page to run in the Admin CP, how do you get it to look similar to the other pages in the Admin CP? If you're making a page for the main forum area, how do you make it where it looks like the rest of your forum pages?
|
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:
|