The Arcive of vBulletin Modifications Site. |
|
Custom Pages in vBulletin - PHP, HTML CSS, the works Details »»
|
|||||||||||||||||||||||||||
|
Custom Pages in vBulletin - PHP, HTML CSS, the works
Developer Last Online: Jan 2013
Im not 100% sure where to add this, this is not a product, it is a work around the template system (only uses the template system for grabbing any template you want and displaying it in this page)
To use this addon, make a new file "page.php" in your forum root (if you want it in another directory you will need to edit a few lines in the code, not a big deal though). Paste the below code into the page.php and save. Run http://www.site.com/forum/page.php Here is the code. PHP Code:
PHP Code:
www.site.com/page.php?do=register //registration www.site.com/page.php?do=member // member page www.site.com/page.php?do=fgdgf // nonsense will be directed to the default; in the switch www.site.com/page.php // empty $do will be directed to the default; in the switch I know this is not the the best way to use vb, and has some security risks when csrf protection is off but its a great way to get used to vbulletin. Benefits:
CHANGELOG:
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Thank you very much. This is incredibly useful to a newbie like myself.
|
|
#3
|
|||
|
|||
|
I'm getting this design error after installing.
|
|
#4
|
|||
|
|||
|
Quote:
I also have a 3.6 - 3.8 version available send me your forum link, i need to look at your code if i can assist you. it looks a css file is missing though |
|
#5
|
|||
|
|||
|
changelog added
|
|
#6
|
|||
|
|||
|
this is 100% exactly what I needed !!! thank you mate
|
|
#7
|
|||
|
|||
|
Hello
to version 4.2.1 it works the only problem is it does not take into account the "aditionnal.css" file can tell you how to include it. In addition, losque I add a VB variable, this plant page. Basically I would like to create a login page in this principle: ![]() here is my code (retrieved during a connection error, wrong username or pass): Code:
<div class="standard_error">
<form class="block vbform" method="post" action="login.php?do=login" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, {vb:raw show.nopasswordempty})">
<h2 class="blockhead">Message de connexion vBulletin</h2>
<input type="hidden" name="do" value="login" />
<input type="hidden" name="url" value="{vb:raw scriptpath}" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
{vb:raw postvars}
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<div class="blockbody formcontrols">
<h3 class="blocksubhead">{vb:rawphrase not_logged_no_permission}</h3>
<div class="blockrow restore">Vous etes sur le point de vous connecter a GFX-Art. Mot de passe oubli? ? Cliquez <a href="http://www.gfx-art.fr/forum/login.php?do=lostpw"><b>ICI</b></a>!
</div>
<vb:if condition="$show['register_message']">
<p class="blockrow">{vb:rawphrase admin_required_register, {vb:raw session.sessionurl}}</p>
</vb:if>
<h3 class="blocksubhead">{vb:rawphrase log_in}</h3>
<div class="blockrow">
<label for="vb_login_username">{vb:rawphrase username}:</label>
<input type="text" class="primary textbox" id="vb_login_username" name="vb_login_username" accesskey="u" tabindex="1" />
</div>
<div class="blockrow">
<label for="vb_login_password">{vb:rawphrase password}:</label>
<input type="password" class="primary textbox" id="vb_login_password" name="vb_login_password" tabindex="1" />
</div>
<div class="blockrow singlecheck">
<label for="cb_cookieuser"><input type="checkbox" name="cookieuser" id="cb_cookieuser" value="1" tabindex="1" /> {vb:rawphrase remember_me}</label>
</div>
</div>
<div class="blockfoot actionbuttons">
<div class="group">
<input type="submit" class="button" value="{vb:rawphrase log_in}" accesskey="s" tabindex="1" />
<input type="reset" class="button" value="{vb:rawphrase reset_fields}" accesskey="r" tabindex="1" />
</div>
</div>
</form>
</div>
thank you |
|
#8
|
|||
|
|||
|
This is the defacto guide for making custom pages for vbulletin.
https://vborg.vbsupport.ru/showthread.php?t=228112 You're welcome. |
|
#9
|
|||
|
|||
|
thank you very much
![]() I think I have managed to create a login page for my navbar http://www.gfx-art.fr/forum/connect.php |
|
#10
|
|||
|
|||
|
hello
I just have a quick question When I connect this new page, I am redirected to the same page. Is it possible that I am recognized as connected, I am redirected to the forum index? |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|