The Arcive of vBulletin Modifications Site. |
|
![]() |
|||||||||||||||||||||||||
This is a simple portal that I just took some of my time to make, I will make a better version of this when I have time.
All you have to do is: 1) Open the portal.php file and edit the $forumpath variable to your forum path, if you don't know how, upload the vbpath.php file to your forum directory and access it via the browser to get the forum path. 2) Upload the portal.php file anywhere you want (It doesn't have to be in the forum directory), and you can also rename the file if you want, depending on your needs. 3) Go to the Style Manager, and create a new template called: portal and paste the following in it: Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle]</title> $headinclude </head> <body> $header <br /> <!-- Content --> <font size="4"><center>Welcome to $vboptions[bbtitle]!</center></font><br /> <script type="text/javascript"> <!-- function log_out() { ht = document.getElementsByTagName("html"); ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)"; if (confirm('$vbphrase[sure_you_want_to_log_out]')) { return true; } else { ht[0].style.filter = ""; return false; } } //--> </script> <table align="center"> <tr> <if condition="$show['member']"> <td valign="top" nowrap="nowrap" align="center"> <div class="smallfont" align="center"> <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong> (<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a>)<br /> <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase><br /> <a href="$vboptions[bburl]/$vboptions[forumhome].php"> <b>Go to the forum >></b></a> <br /><br /> </div> </td> <else /> <td nowrap="nowrap" style="padding:0px"> <!-- login form --> <form action="$vboptions[bburl]/login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])"> <script type="text/javascript" src="$vboptions[bburl]/clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td> <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td> <td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td> </tr> <tr> <td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td> <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td> <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td> </tr> <tr><td align="center" colspan="3"><a href="$vboptions[bburl]/register.php">Not A Member Yet? Register Now!</a><br /><a href="$vboptions[bburl]/faq.php?faq=vb_user_maintain#faq_vb_why_register" target="_blank">Want to know why you should register?</a><br /><br /></td></tr> </table> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> </form> <!-- / login form --> </td> </if> </tr> </table> <!-- DO NOT REMOVE THESE LINES BELOW --> <table><tr><td><font class="smallfont"><a href="https://vborg.vbsupport.ru/showthread.php?t=137919" target="_blank">Simple Portal</a> by: <a href="http://www.barcaclub.net/forum/member.php?u=1" target="_blank">KingPuyol</a></font></td></tr></table> <!-- /Content --> <br /> $footer </body> </html> One more thing, as I said the next version will be way better than this, so for now, not everything is PHRASED, but most of the things it is, so if you are using this in a different language other than English, then remember to edit the portal template. PLEASE MARK AS INSTALLED. Supporters / CoAuthors Show Your Support
|
Comments |
#2
|
|||
|
|||
![]()
Reserved for later use.
|
#3
|
|||
|
|||
![]()
it look good . and i like it . but how about the security of the forum it will affect it ??
lastly i heard so many site hacked from the portals .. i would like to know because i want to install it in my site |
#4
|
|||
|
|||
![]() Quote:
In other ways, it's as safe as the other vbulletin pages. |
#5
|
|||
|
|||
![]()
It is just a regular vb page with navbar inside. I don't understand how you call it portal.
|
#6
|
|||
|
|||
![]()
A Portal is a door, If there is no portal as such, then the forum home is the portal.
Portal is just a word for the entrance to the site regardless of how it looks ![]() Code:
Dictionary.com Unabridged (v 1.1) - Cite This Source por?tal1 /ˈpɔrtl, ˈpoʊr-/ Pronunciation Key - Show Spelled Pronunciation[pawr-tl, pohr-] Pronunciation Key - Show IPA Pronunciation ?noun 1. a door, gate, or entrance, esp. one of imposing appearance, as to a palace. 2. an iron or steel bent for bracing a framed structure, having curved braces between the vertical members and a horizontal member at the top. 3. an entrance to a tunnel or mine. |
#8
|
|||
|
|||
![]()
i like it.. i think it would be awesome w/ a forum desciption or a "welcome header" like message to guests. simple and clean. i use vbadvanced now and i offen wonder if its not overwelming for new users that arent computer savey or new to message boards or vbulletin.
|
#9
|
|||
|
|||
![]()
I wonder if ther is any methode to include Keywords and meta description !! in the page
|
#10
|
|||
|
|||
![]()
I was just testing to see, I will make a better one soon.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|