Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #12  
Old 01-31-2007, 07:47 AM
Greek Wizard Greek Wizard is offline
 
Join Date: Jun 2006
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KingPuyol View Post
I was just testing to see, I will make a better one soon.
I think you need to make your signature a bit bigger. We can hardly read it.
Reply With Quote
  #13  
Old 02-02-2007, 02:47 PM
trbznl trbznl is offline
 
Join Date: Jul 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks... I will use it
Reply With Quote
  #14  
Old 02-05-2007, 12:48 PM
spipo spipo is offline
 
Join Date: Mar 2006
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any news about a new version with Keywords and meta description ?
Reply With Quote
  #15  
Old 02-06-2007, 05:09 AM
ymy ymy is offline
 
Join Date: Feb 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod

I'm going to test this out now

install click . Thanks
Reply With Quote
  #16  
Old 02-10-2007, 08:17 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
How soon?
Reply With Quote
  #17  
Old 02-21-2007, 06:35 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^Bump^
Reply With Quote
  #18  
Old 05-20-2007, 11:02 PM
daloosaa daloosaa is offline
 
Join Date: Jun 2006
Location: Germany, BB, Mahlow
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*installed*

I hate it when the docroot is flooded with files this is why i run my community in mydomain.com/community. This little portal allows me to replace the stupid HTML-File with it's stupid META-redirect in the docroot. Great.

Greetings,
Florian
Reply With Quote
  #19  
Old 08-27-2007, 01:31 PM
stevebullman stevebullman is offline
 
Join Date: Jul 2007
Posts: 46
Благодарил(а): 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

could someone elaborate on this please as i was planning on installed vbadvanced as a portal.
Reply With Quote
  #20  
Old 08-28-2007, 12:43 AM
AzaDiyaR AzaDiyaR is offline
 
Join Date: Oct 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice thank you
Reply With Quote
  #21  
Old 09-27-2007, 08:58 AM
touba touba is offline
 
Join Date: Nov 2006
Location: Cannes (FR)
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi all,

when i go to mydomain/forums/portal.php the page is blank

an idea ?
Reply With Quote
Reply


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 10:58 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.05287 seconds
  • Memory Usage 2,307KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (3)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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