Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Simple Portal Details »»
Simple Portal
Version: 1.00, by KingPuyol KingPuyol is offline
Developer Last Online: Apr 2008 Show Printable Version Email this Page

Category: Portal Software - Version: 3.6.4 Rating:
Released: 01-29-2007 Last Update: Never Installs: 11
Template Edits
Additional Files Is in Beta Stage  
No support by the author.

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>&nbsp;(<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&amp;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>
Remember to do this to every style you have, or else it won't work with that style.


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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-30-2007, 08:54 AM
KingPuyol KingPuyol is offline
 
Join Date: Oct 2006
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved for later use.
Reply With Quote
  #3  
Old 01-30-2007, 09:01 AM
spipo spipo is offline
 
Join Date: Mar 2006
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 01-30-2007, 09:16 AM
KingPuyol KingPuyol is offline
 
Join Date: Oct 2006
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by spipo View Post
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
This is different than the other portals, I didn't add any extra modules, not anything, it's just a smimple vB page just like the other pages, the only thing it does is fetches the portal template.
In other ways, it's as safe as the other vbulletin pages.
Reply With Quote
  #5  
Old 01-30-2007, 10:11 AM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is just a regular vb page with navbar inside. I don't understand how you call it portal.
Reply With Quote
  #6  
Old 01-30-2007, 10:47 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 01-30-2007, 12:04 PM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The point is there is nothing special about this hack.
Just follow this article and you are ready to go
Reply With Quote
  #8  
Old 01-30-2007, 02:21 PM
StuntFactoryX StuntFactoryX is offline
 
Join Date: May 2006
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 01-30-2007, 09:05 PM
spipo spipo is offline
 
Join Date: Mar 2006
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wonder if ther is any methode to include Keywords and meta description !! in the page
Reply With Quote
  #10  
Old 01-31-2007, 04:35 AM
KingPuyol KingPuyol is offline
 
Join Date: Oct 2006
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was just testing to see, I will make a better one soon.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:37 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
  • Page Generation 0.05619 seconds
  • Memory Usage 2,294KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete