The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Can someone help me please?
I am using the mod that creates another page within vbulletin, using the header and footer. Seen here: https://vborg.vbsupport.ru/showthrea...513#post791513
My question, does this work with the current version of vbulletin? And if so, I keep getting the 404 Error Page not found. I don't understand why I keep getting this. I've created the rules.php in notepad, uploaded via FTP to the site directory, created the new template in admincp, and copied information given in that. But for some reason, every time I go to where the page SHOULD be, I get the 404 Error. Thanks for any help, it is GREATLY appreciated! |
#2
|
|||
|
|||
That should work fine. Post your code.
|
#3
|
|||
|
|||
This is what I put in the .php file I created and uploaded. Now, this is also going into a sub-directory, so maybe I didn't put it in the right one? However, I've tried quite a few of them.
PHP Code:
And here is the code that I placed in the template that I created in admincp. PHP Code:
Thank you for your help! |
#4
|
|||
|
|||
That will basically put out a blank page so far. Ya need a footer. But cool.
Now, show me your forum path url and the url to where your script lives. Full urls please. add at the end. HTML Code:
$footer </body> </html> |
#5
|
|||
|
|||
Noppid, sorry about not having the footer, etc. I actually do have that in place in the template, just when I copied it to place here, it didn't grab it. So it is currently there.
The url where the page SHOULD show up is http://www.oldfashionedfamilies.com/forums/rules.php Does that look right? I'm a newbie, just so you know. I've had this site for 2 years, and done things up until this point. Thanks again for helping! |
#6
|
|||
|
|||
Ok, so it's in the forums folder. But it's 404. You gotta straighten that out. IF it's there, try setting it to chmod 755.
|
#7
|
|||
|
|||
Ok, I'm a little confused. Where do I try setting it to chmod 755?
|
#8
|
|||
|
|||
In FTP right click on the file, assuming when you look in ftp the file rules.php is there in the forums folder, and select file attributes. See what it is and set it to 755.
|
#9
|
|||
|
|||
Ok, just so I'm correct before I do this, when I open up /public_html/forums rules1.php IS there. I right click on the file, go to properties (I use Core FTP Lite) and there is a VALUE there of 644. I change the 644 to 755, correct?
And thanks again. --------------- Added [DATE]1223483813[/DATE] at [TIME]1223483813[/TIME] --------------- I'm dumb......I just figured out why it isn't working right now. I named the file rules1.php and am looking for it at rules.php I wonder why it didn't work before when I had it set at rules.php? Goodness.... --------------- Added [DATE]1223483941[/DATE] at [TIME]1223483941[/TIME] --------------- Hey, if you wouldn't mind, I have another question. How would I make a link on the navbar in the forums main called Rules that would take me to this page I created? |
#10
|
|||
|
|||
hehe, I saw that 1 and laughed. Yeah, you had the file attributes idea correct. if the file works and 644, leave it alone. If not, reset it.
Code:
In NAVBAR: (link in navbar) Find: <if condition="$show['registerbutton']"> <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> Add BELOW: <td class="vbmenu_control"><a href="rules.php?$session[sessionurl]">$vbphrase[my_rules_phrase]</a></td> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|