![]() |
Ohh so it's a problem with your navbar then i.e. you replaced the urls's in some of your menu items but the changes are not reflecting in the webtemplate and causing an error?
|
no no no ... my menu links are fine
see this page bluelight.ru their default landing page is home.php not index.php how is this done |
Well, after reading all 27 pages of this thread. I'm impressed with two thing.
1. the low number of problems (most of those seem to be complicated and above my level anyway LOL) 2. "Not supported" support seems to be better in this mod than most "supported" mods. So I am going to download and try it out. I'm all excited over it, but won't marks installed until after testing on my testvb. When I install it on my live forum, I'll mark installed. I am very impressed with the feedback in this thread in spite of Gladhatter's rude remarks when he doesn't even use it. |
Quote:
index.php will replace your index.html, the browser looks for one of these files as the default page to present based on the servers preferences. Most servers have default settings about the order in which a default file is presented. typical order is: index.html index.php default.html default.php home.html home.php So basically if you don't have a index.html, it will start looking for index.php instead and so on, down the list! Quote:
S-MAN |
There's probably a better way (you could probably do it with an htaccess edit only) but what I'd do (if I couldn;t be bothered googling better way) is create a new php file as gymph said in post #393 and call it myhome.php and put it in your forum root
Next edit your .htaccess file in your forum root and add a line: Code:
DirectoryIndex myhome.php index.html index.htm index.php index.cgi index.pl default.htm |
OK, I googled - you shold be able to do this simpler. Assuming you don;t have an index.html in your forum root, simply add the following line to your htaccess
RewriteRule ^(index\.html)?$ view.php?pg=xxxxx[QSA,L] Then when someone visits http://mysite.com your webserver will try and load up index.html which will be rewritten to view.php?pg=xxxxx (you swap xxxxx for the web template page identifier) and load up http://mysite.com/view.php?pg=xxxxx someone requesting http://mysite.com/index.php will still get that... |
thanks guy for all the help
i moved my entire vbulletin out of the root into it's own directory then i used gsmph's method to forward the index.php file in the root to the custom home page in the vbulletin directory.... this is working very well for me |
Quote:
now anyone cares to help me here https://vborg.vbsupport.ru/showpost....&postcount=388 pleaseeeeeeeeeee............. :( br gsmph |
Hi,
Would it be possible to get one of BananaLive's Easy Forms into one of your templates ? His product is here , where I asked the same question. https://vborg.vbsupport.ru/showthrea...highlight=easy Thank you, |
Is there some reason i cant change the background color..?
We have tested a few different types of HTML pages, but the background wont change.. it just stays white. Any thoughts.? |
I Figured out where my backgrounds are going.. they are going to the Background of the entire site, not within the window.
Any thoughts on that.? I want to make some simple HTML pages with some images, & a link or two. Is this possible or only static pages.? |
Quote:
|
Quote:
However if you want to change it, you can: a) use a stand alone webtemplate (which does not use any themes or header or footer) and use any background color you like there. b) Create a new webtemplate theme (or header) with a different bg color and use this one for your specific webtemplate Likewise you can create any HTML pages you like. Just create it in your favorite HTML software (frontpage, dreamweaver etc.), then paste its source code inside a webtemplate. |
Is there a specific forum to get help with the creating of php templates in this mod?
Or do I just clog up this thread? :rolleyes: I have a tricky one that I'm trying to create, but I'm not sure how to go about it. |
Quote:
That seems backwards to me, if it is in the HTML code we add to the template it should change the body of the page not the background.. My forum style had a left side menu, so we are trying to create something that keeps with that. Quote:
|
Hi I'm trying to run a few tests to understand how I might attempt something more complex.
I have a php include file but whenever I include it the file is getting outputted without actually being interpreted. The include file is outside of the main forum So e.g. a have a php template. In the PHP Include section I have: include("/file/path/www/links/lwt_links.php"); In that file I have the following PHP code. PHP Code:
Any help appreciated. And it's a fantastic mod I've been using it for a long time. |
Quote:
PHP Code:
|
Thank you. I now have a basic PHP script working really well using your pages to output in the web template.
|
Quote:
br gsmph |
I have vMoods for 3.7 along with this mod, but the mood dropdown isn''t working in the navbar area of pages I've created using this mod.
Can someone assist? Much appreciated... |
For those that are using this mod and the vbSEO mod the following rule will rewrite the URL's to be more SEO friendly.
I've just been working on this with the vbSEO guys and thought it would be useful posted here as well. It gets entered in to the Define Custom Rewrite Rules Section. HTML Code:
'^view\.php\?pg=(.+?)$' => 'page-$1.html' The URL's now become http://yoursite/forums/page-nameofpage.html |
Man i really wish i could get this to work..
This would make the last few years of trying to build a seperate website obsolete.!! Can someone tell me if it is possible, to build a functional web page within my forums.? such as.. put this type of site - http://www.gamelobby.com/Forum/warriorbreed (can be much simpler) into a page like this - http://www.gamelobby.com/Forum/view.php?pg=test So that the menu on the side is still part of the page.? Thanks in advance for any insight. :) |
Bump...
https://vborg.vbsupport.ru/showpost....&postcount=420 Does anyone use vMoods with this mod? If so, can ya help me out with the post above? |
Quote:
I've just built a simple php application using this mod that embeds nicely within vB now. When you couple that with the vbSEO mod I think this mod has a great future. |
Quote:
|
Quote:
|
Quote:
PHP Code:
PHP Code:
|
Quote:
|
Quote:
Will the html code work on here also.? HTML Code:
'^view\.php\?pg=(.+?)$' => 'page-$1.html' I should think about adding vBSEO.. I've always just been afraid it would screw things up. :erm: |
I got a question about this.. (or maybe this should be posted elsewhere)
Using iframes, how can i create a page that will pull info from a socialgroup.? Like a members page that takes the data straight from a group page, so the group page becomes their admin page. Does that make sense.? |
Thanks for the vMoods fix, Logician...
Much appreciated. |
Any idea as to why this happens with my blogs link?
http://www.maximum-jackson.com/discu...?pg=invalid_pg Thanks mate! |
Quote:
|
ooh just realised blogs don't show for guests - i'll take a screenshot and detail more info..
Normal blog link http://img80.imageshack.us/img80/5450/1men.jpg When using logician web template logged in. http://img145.imageshack.us/img145/1968/2men.jpg For some reason, when logged in (so blogs are enabled to show in the navbar) a seperate blog link is displayed and the original turns blue and has two little arrows instead of one. |
I'm using WT to make a front page for one of my sites which includes latest blog entries. I had no problems creating a query to pull in and truncate the entries and such, but I am having a problem getting the correct BBCodes processed. Right now it's using the built in BBCode processing of WQ, but I need to instead use the Blog BBCode processing because attachments are incorrectly being linked to thread attachments.
I tried to remove the field from the bbcode parse field list and add some php include that I found in view.php to process the bbcodes. My plan was to get that to work and then swap that out for the blog bbcode parsing, but I couldn't get it to work. Here's what I tried in the Query PHP Include (after) Code:
require_once(DIR . '/includes/class_bbcode_alt.php'); This didn't work at all. So then I tried this: Code:
require_once(DIR . '/includes/class_bbcode_alt.php'); If anyone has the solution for processing blog bbcodes, I'd really appreciate it as I'm not sure how to proceed without REALLY digging deep. Otherwise, if someone can point out what I'm doing wrong here, I'd appreciate it because I can use that to figure out how to swap this code out for blog bbcode processing, which would look something like this: Code:
require_once(DIR . '/includes/class_bbcode_blog.php'); |
Quote:
There are 2 occurences of this code in view.php PHP Code:
PHP Code:
|
Logician,
Thanks for the quick reply! I'm a little confused by your code though. It's the same code that I took out and modified to try to parse a specific field. Your snippet is directly from your view.php and works on the specific field that the loop is working on ($WQfield[$WTWQqbbcodeparsedvalue]) I haven't tried this (mostly because this is production and I can't monkey with it too many times during the day) but I'm assuming that if I plug your code in to the PHP post-query eval, that it won't actually do anything because it doesn't operate on a specific field. I guess I'm wondering how I can change it to work on the specific field from my query, which is called pagetext, and normally shows up as $WQfield[pagetext] I appreciate your help and thank you again for such a great product! |
Quote:
But if you want your hack to work for a certain field only, this should help: PHP Code:
|
OK, so I have zilch knowledge of coding. I want to create a separate story-forum, visible for guests and members (guests can only see the forum, no content)
Rather than a subforum on the main paige, I want these stories to show up on their own page, with the forum looks, nav bar etc. If I now install your mod, can I than copy paste the content of the address-bar to that mode and use that template for this story page? And does that create the same forum (with the threads & content) as the original, or only the structure, after which I can give it a name like "story-forum" and post each story as a thread? Is this a feasible option, or do I have to create a page for every story (which seems a lot of work)? Where does the created page show up on the forum? I take it that I can create a link to the story forum just like for example a link to the FAQ-page (which seems to have a forum structure as well)? Is it safe to try this out, or do I wreck the forum in the proces, give my very limited knowledge of HTML, CSS and the likes? |
Quote:
|
All times are GMT. The time now is 10:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|