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
Os Portal Details »»
Os Portal
Version: 0.0.1, by Atakan KOC Atakan KOC is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.8 Rating:
Released: 03-02-2007 Last Update: 03-22-2007 Installs: 72
Uses Plugins Template Edits
Additional Files  
No support by the author.



What is OS Portal?


As lot of people ask me that they want to use my portals, I strated to work on it and make the investigation. So I decided to make something like Vbonjour plugin and vbadvanced plugins block come together and I establish OS PORTAL "On Sayfa Portal" I try to do my best to make it as much as simple and modular with less or maybe no errors.


What comes with Os Pertal?

There are 8 plugins in the OS Portal

Portal Menu: You can prepare your own Admin panel menu.

Login: You can close the navbar or leave it as it is but the guests can put an area showing the inf of the users such as pm's log in details.

Online users: Who is online block? You can show some details such as online users, total thread and message numbers, number of registered users etc.

Welcome to: You can put any text in htm format here form the admin panel.

LAtest Threads : You can show the latest threads and show it how mucy you want by the number of lines?

Caledar: A small calender on the forum

Top Poster: Users with big number of messages can be shown.

Newest members: The list of the newest members. You can decide the number to show.

How to install?

After you download it

portal.php ==> www.domain.com/forum/ or www.domain.com/
inside portal.php edit to suit your forum.


chdir ("/home/domain/public_html/forum/");

hooks_osportal.xml ==> forum/includes/xml/
cpnav_osportal.xml ==> forum/includes/xml/

Products ==> Plugins & Products ==> Manage Products ==> [Add/Import Product]

Support Given For Who Clicked Install {ONLY}

Show Your Support

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

Comments
  #72  
Old 11-17-2007, 10:59 PM
neopet001 neopet001 is offline
 
Join Date: May 2007
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I add multi pages , like vba ? I really like your portal than vba cause it shows even [img] and threads' contents
Reply With Quote
  #73  
Old 11-28-2007, 09:14 PM
RaistliN RaistliN is offline
 
Join Date: May 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hocam eline sağlık s?per olmuş...
Birde bunda zoints seo linklerini aktif etme olayını ??zebilirsek s?per olur.B?yle bir şansımız varmı?

Sorry i don't speak engilish
Reply With Quote
  #74  
Old 12-04-2007, 03:39 PM
D&Y's Avatar
D&Y D&Y is offline
 
Join Date: Jun 2005
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I Find Two Mistake At This Mod.

Search in 'portal.php'

Code:
$basla = substr_count($haber['message'], '<div');
I Think it is no '<div' it is '<div>'

Code:
$basla = substr_count($haber['message'], '<font');
I Think it is no '<font' it is '<font>'

It's Possible That Not Mistake
Reply With Quote
  #75  
Old 12-05-2007, 10:07 AM
xcingix's Avatar
xcingix xcingix is offline
 
Join Date: Feb 2006
Location: Brooklyn, NY
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is no way to have this as the index.php in my root folder?
How would I configure that?
Reply With Quote
  #76  
Old 12-06-2007, 08:00 PM
HazardGaming HazardGaming is offline
 
Join Date: Dec 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xcingix View Post
there is no way to have this as the index.php in my root folder?
How would I configure that?
Create an index.html in the main directory that index.php is in, then put this in it:

Code:
<HTML>
<HEAD>
<TITLE>Forum Name Here</TITLE>
<META HTTP-EQUIV="refresh" 
CONTENT="0;URL=http://www.domain.com/portal.php">
</HEAD>
<BODY>
</BODY>
</HTML>
Replace what needs to be replaced. It should redirect to the portal first, then if you click on anything in the forums it will go directly to the forums instead.
Reply With Quote
  #77  
Old 01-04-2008, 04:55 PM
gbml4u gbml4u is offline
 
Join Date: Aug 2006
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/attachment.php?attachmentid=70413&d=1191018902" target="_blank">https://vborg.vbsupport.ru/attac...3&d=1191018902</a>

I install this but I cannot find position left 2 3 and and right 1 2....
Only see select "none" and "position left 1"

can anyone help me to fix this ?

thanks!
Reply With Quote
  #78  
Old 01-12-2008, 04:01 PM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Atakan !!

Beautiful portal

However, i've a problem when i want to display avatar poster for news (Portal Extra) :

avatars don't display, so I do it :

To fix avatar problem in the news :

In the XML,

find :

HTML Code:
    $haber[dateposted] - <phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$haber[postuserid]" 2="$haber[postusername]">$vbphrase[by_x]</phrase>
Replace by :

HTML Code:
<if condition="$vboptions[osportal_news_avatar]"><img src="image.php?u=$haber[postuserid]"></if> $haber[dateposted] - <phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$haber[postuserid]" 2="$haber[postusername]">$vbphrase[by_x]</phrase>
Reply With Quote
  #79  
Old 01-13-2008, 12:09 PM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To fix thread icon problem in the news :

In portal . php,
find :


PHP Code:
$haberal $db->query_read("
                    SELECT thread.threadid, post.title, thread.replycount, postusername, "
.
            
"postuserid, thread.dateline AS postdateline, thread.lastpostid, thread.lastposter, ".
             
"thread.lastpost, IF(views<=thread.replycount, thread.replycount+1, views) AS views, ".
            
"thread.forumid, post.postid, pagetext, allowsmilie FROM " TABLE_PREFIX "thread AS thread
                    LEFT JOIN " 
TABLE_PREFIX "post AS post ON (post.postid = thread.firstpostid)
                    WHERE thread.visible = 1 
$iptalforum_query ORDER BY thread.dateline DESC LIMIT 0,$news_limit"); 


Replace by :


PHP Code:
$haberal $db->query_read("
                    SELECT thread.threadid, post.title, thread.replycount, postusername, "
.
            
"postuserid, thread.dateline AS postdateline, thread.lastpostid, thread.lastposter, ".
        
"icon.title AS icontitle, icon.iconpath, ".
            
"thread.lastpost, IF(views<=thread.replycount, thread.replycount+1, views) AS views, ".
            
"thread.forumid, post.postid, pagetext, allowsmilie FROM " TABLE_PREFIX "thread AS thread
                    LEFT JOIN " 
TABLE_PREFIX "post AS post ON (post.postid = thread.firstpostid)
                    LEFT JOIN " 
TABLE_PREFIX "icon AS icon ON(icon.iconid = post.iconid)
                    WHERE thread.visible = 1 
$iptalforum_query ORDER BY thread.dateline DESC LIMIT 0,$news_limit"); 


In the XML ,
find :


HTML Code:
<a href="$vboptions[bburl]/showthread.php?t=$haberbitno">$haber[title]</a></td>

Replace by :


HTML Code:
<if condition="$vboptions[osportal_news_icon]"><img class="inlineimg" src="$haber[iconpath]" alt="$haber[icontitle]" border="0" /> </if><a href="$vboptions[bburl]/showthread.php?t=$haberbitno">$haber[title]</a></td>
Reply With Quote
  #80  
Old 01-13-2008, 12:13 PM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sometimes, the date of the news appear with "%".

To fix date problem in the news :

In portal.php, find :


HTML Code:
$haber['dateposted'] = vbdate($vbulletin->options['dateformat'], $haber['postdateline'], '', '');


Replace by :


HTML Code:
$haber['dateposted'] = vbdate($vbulletin->options['dateformat'], $haber['postdateline']);
Reply With Quote
  #81  
Old 01-13-2008, 09:44 PM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For addon Members who have visited Today, options don't appear in Extra.

To fix options problem :

In the XML,

find :

HTML Code:
<settinggroup name="onoff" displayorder="10">

Replace by :


HTML Code:
<settinggroup name="osportal_extra" displayorder="10">
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 05:13 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.04985 seconds
  • Memory Usage 2,333KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (8)bbcode_html
  • (2)bbcode_php
  • (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
  • (4)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