vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vBonjour - Portal System (https://vborg.vbsupport.ru/showthread.php?t=133757)

Smoothie 01-28-2007 08:51 PM

Is there a screenshot of the admin cp for this?

osso12 01-29-2007 01:34 PM

Quote:

Originally Posted by captainslater (Post 1169199)
You need to update the php-file also.

Because there was the one mistake ;)

Worked great, and took care of that SQL issue we are having if we add a second forum ID.
Thanks much! :up:

peterska2 01-29-2007 03:20 PM

Quote:

Originally Posted by Smoothie (Post 1169280)
Is there a screenshot of the admin cp for this?

There isn't, but I'll get one taken later tonight when I'm on the other computer. In the meantime, to put it simply, have a look at, lets say, forum display options found in the vB options. Thats just one picked at random, but the entire minimalistic ACP is set in the vBOptions so it gives you an idea. The base system (ie the main portal with no add-on's) is a mere 6 settings in vBOptions, and once they are set you should never have any need to change them.

osso12 01-29-2007 07:31 PM

Quote:

Originally Posted by Smoothie (Post 1169280)
Is there a screenshot of the admin cp for this?

:D
try this..

http://www.smokinchevy.com/files/screen1.bmp

http://www.smokinchevy.com/files/screen2.bmp

peterska2 01-29-2007 08:05 PM

Cheers osso :D That's saved me a job :up:

osso12 01-29-2007 08:32 PM

The portal and all the add on features are excellent. Easy to install, and your help has been fantastic. Time to vote for mod of the month people.

adhari_com 01-31-2007 07:15 PM

Yeah the portal deserves all appreciation .. great Job.

Only one issue this and all past portals have, can't optimize the portal page outside the forums folder, it's annoying to change all images in templates that might be used in the portal, or to have the CSS embed instead of linked, or even putting full URL of CSS images.

What's the solution to have the portal page outside the forum's folder, without doing those modifications?

Wayne Luke 01-31-2007 10:28 PM

Quote:

Originally Posted by adhari_com (Post 1171471)
What's the solution to have the portal page outside the forum's folder, without doing those modifications?

No matter what you do it will require some sort of modification to a template somewhere. You could try just using a <base> directive in your headinclude. Not sure what the overall effect would be but I really can't foresee any problems. It simply makes relative links into absolute links.

Smoothie 02-01-2007 12:33 AM

Thank you for the screenshots. Very helpful!

adhari_com 02-01-2007 03:25 AM

Thanx alot Wayne that was slick! I'll give it a try.

masterme 02-01-2007 02:32 PM

I sure would like your mod, but I want to know something before I screw up my board.
At this moment I have my board in a subdirectory say '/forum'. On the main index is a page, but I do not want to use it anymore and want to use the portal instead.

Is that possible and if so, how? (yes I read the part above, but I do not realy understand it)

adhari_com 02-01-2007 05:50 PM

It's working guys, to actually make the portal work without so many mods on the template is using the <base> directive as suggested earlier.

Insert right below the <head> in PORTAL template:
Code:

<base href="$vboptions[bburl]/" target="_self" />
* But a question goes to the coder, are these 2 lines at the end of portal.php correct?

Code:

eval('$portal_articlelist .= "' . fetch_template('PORTAL') . '";');
eval('print_output("' . fetch_template('PORTAL') . '");');

I think the first is useless?

adhari_com 02-01-2007 05:56 PM

And I'm also suggesting using this code, instead of the current one and the reason is BBCode gets choped off creating an ugly view of the previewed latest topics, qouting the preview of the Tooltip of Forum Display, to display a stripped simple preview of the post:

Code:

        $news['pagetext'] = strip_quotes($news['preview']);
        $news['pagetext'] = htmlspecialchars_uni(fetch_censored_text(fetch_trimmed_title(
                        strip_bbcode($news['preview'], false, true),
                        $charlimit
        )));
$news['pagetext'] = nl2br($news['pagetext']);


Wayne Luke 02-01-2007 06:42 PM

Quote:

Originally Posted by masterme (Post 1172138)
I sure would like your mod, but I want to know something before I screw up my board.
At this moment I have my board in a subdirectory say '/forum'. On the main index is a page, but I do not want to use it anymore and want to use the portal instead.

Is that possible and if so, how? (yes I read the part above, but I do not realy understand it)

There are instructions for installing outside the forum folder in the download. Not very difficult really. I have it outside the forum directory on my site. Follow them and you shouldn't have any problems.

abramelin 02-01-2007 06:42 PM

How can i make a link that shows the forum link when the user on portal page and show the portal link when the user on the forum page ?

Wayne Luke 02-01-2007 10:39 PM

Quote:

Originally Posted by abramelin (Post 1172402)
How can i make a link that shows the forum link when the user on portal page and show the portal link when the user on the forum page ?

This should work:
HTML Code:

<if condition="THIS_SCRIPT == 'portal'">
        <a href="$vboptions[bburl]/$vboptions[forumhome].php$session[sessionurl_q]">Forum</a>
<else />
        <a href="$vboptions[homeurl]">Portal</a>
</if>

I haven't tested it though. I have a tab system on my site that always shows a link to the home page and one to the forums.

masterme 02-02-2007 09:19 AM

I have the mod installed. But because I use an style which is completely different from an defaullt style, it does not function complete. Only the news is working, no sidebars.

Is it possible to ad an basic template and assign only the portal to it?

goodguy 02-04-2007 09:07 AM

I had the portal working fine, but for some reason now I can't link to it from our main site.
If I use the path www.hairdivision.co.uk/forums I get a white page but the page is named correctly as using the full path it is fine www.hairdivision.co.uk/forums/index.php? www.hairdivision.co.uk/forums/forum.php takes me to the forums?
I'm sure it's something simple, probably me, but can anyone advise?
(I can't use the second path above as the links are hard coded into an Actinic site)

T.I.A.

goodguy 02-05-2007 06:56 AM

I managed to get it working by editing the links in Actinic but users are still having problems, any idea why I'm having to use the full path? I tried reverting the forums.php back to index.php but still the white page?

Jorrit787 02-05-2007 10:28 PM

I added two plugins to fix the Online Location showing up as Unknown:

online_location_process:
Code:

if($filename=='index.php')
{
    $userinfo['activity'] = 'portal';
}

online_location_unknown:
Code:

if($userinfo['activity']=='portal')
{
    $userinfo['action'] = 'Viewing Portal';
    $handled = true;
}


peterska2 02-06-2007 11:29 PM

Quote:

Originally Posted by goodguy (Post 1175032)
I managed to get it working by editing the links in Actinic but users are still having problems, any idea why I'm having to use the full path? I tried reverting the forums.php back to index.php but still the white page?

Sorry it's taken a while to get back to you.

I've just been over to your site and your forums are showing atwww.hairdivision.co.uk/forums just fine for me.

peterska2 02-06-2007 11:31 PM

@ adhari and Jorrit

I'm going to be taking your changes into consideration in the next build.

Thanks.

Keep the improvements coming.

blogtorank 02-11-2007 04:34 AM

Great Job KA and I think I'm going to convert now to the vBonjour since you said "simplicity" ;) Gotta love it. I did note all of your add-ons........... You been pretty busy I see. Will be installing on a new board here this next week.

Hope to see soon a all-in-one simplicity vBonjour with every add-on already installed and ready to go, in lieu of the singles. However with your hard work involved I wouldn't put it past you not doing it that way :D

All the best!

Thermit 02-11-2007 02:59 PM

Quote:

Originally Posted by adhari_com (Post 1172343)
And I'm also suggesting using this code, instead of the current one...

This is an improvement.

Although I'm still getting one post that has a title when shown on the portal page, but doesn't have any content on the portal page. Looks weird. This is the post for debugging referrence.

If this could be fixed, that would be great.

masterme 02-12-2007 06:31 PM

I will repeat my question:
Is it somehow possible to give the portal another template than the forum?
I use a design which does not work fine with this portal, the sidebars do'nt show etc.
So if it would be possible that I can add another design which I share with only the portal, that would be neat.

Lee 2007 02-13-2007 12:08 PM

Can anybody make an add on that will let me a poll on the front page?

John1uk 02-17-2007 06:53 PM

*Installed* i'm having big problems here.......the portal doesn't seem to be working, i would appreciate any help. i have followed the instructions as requested in notepad......i am sure i have done something wrong...could you plz help.

plz click on web address.... http://www.motormeet.co.uk/forum/forum.php

before i made changed it was http://www.motormeet.co.uk/forum/index.php

Jorrit787 02-17-2007 07:16 PM

You didn't set the forum path correctly in the portal.php file.

John1uk 02-17-2007 07:21 PM

hi.

the forum path that was described after the /admincp......is index.php

so it looks like this....../admincp/index.php

i am new to this, so trying to hard i think to get it right.....i new i made a mistake but not sure what to put in forum path, in portal.php.

your help would be gratefull

John1uk 02-17-2007 07:23 PM

this is what i see in Path_Translated.....

kunden/homepages/xx/xxxxxxxxx/htdocs/mm/forum/admincp/index.php

Jorrit787 02-17-2007 08:36 PM

Quote:

Originally Posted by John1uk (Post 1184749)
this is what i see in Path_Translated.....

kunden/homepages/xx/xxxxxxxxx/htdocs/mm/forum/admincp/index.php

Try 'C:/kunden/homepages/xx/xxxxxxxxx/htdocs/mm/forum/'

John1uk 02-17-2007 09:57 PM

thanx for that i have just sussed it.......but now something looks weared! if you go here i get this.

if you go to our main forum homepage you see this......the columns down the left and right are another mod that i am in the middle of installing from marie....plz any advice would be greatfull.

Jorrit787 02-17-2007 10:34 PM

Quote:

Originally Posted by John1uk (Post 1184848)
thanx for that i have just sussed it.......but now something looks weared! if you go here i get this.

if you go to our main forum homepage you see this......the columns down the left and right are another mod that i am in the middle of installing from marie....plz any advice would be greatfull.

So what exactly is the problem?

And just a word of advice: It's usually not a good idea to try installing two mods at the same time.

John1uk 02-17-2007 10:40 PM

Thanx for the advice mate :D i have removed the left and right column mods.....back to how the forum looked in the first place.

the problem is, excuse my ignorance, i thought this mod would add colums down my main forum homepage, like marie's. with navagation etc....but i don't see anything?????

John1uk 02-17-2007 10:47 PM

like i said im such a noob....i have just twigged on whats going on.......i haven't install the
vbonjour column addon........... so sorry to waste everyones time. thanx for all your help.....:D

Jorrit787 02-17-2007 11:16 PM

Quote:

Originally Posted by John1uk (Post 1184880)
Thanx for the advice mate :D i have removed the left and right column mods.....back to how the forum looked in the first place.

the problem is, excuse my ignorance, i thought this mod would add colums down my main forum homepage, like marie's. with navagation etc....but i don't see anything?????

It will add columns to your new Portal page, not your forum's main page. And yes, you need to have something IN the columns before they show up on the Portal page.

Jorrit787 02-18-2007 10:53 PM

If one of the threads in the forums you are pulling threads from is a redirect, it comes up as this... (in other words: no message text.)

Mythotical 02-20-2007 06:06 AM

Just a bit of info, if you wish to have your navbits reflect your vB title instead of vB title > Portal.

Open portal.php:
Find
PHP Code:

$navbits = array();
$navbits[$parent] = 'Portal';

$navbits construct_navbits($navbits); 

Remove it completely, save and upload.

This will add a breadcrumb when viewing your forum.

Next open index.php (if you renamed opened the renamed file)
Find:
PHP Code:

eval('$navbar = "' fetch_template('navbar') . '";'); 

Above add:
PHP Code:

$navbits = array();
$navbits[$parent] = 'Forum';

$navbits construct_navbits($navbits); 

Edit 'Forum' to whatever you wish.

Cheers
Steve

TruthElixirX 02-22-2007 09:33 PM

I tried installing this, but I'm having a problem getting the index.php to show up. I jsut get a nice white blank page.

I edited the portal.php to reflect the forum path (/home/cporg/public_html/forums), but it doesn't change anything.

http://www.computerproblems.org/index.php
http://www.computerproblems.org/forums

Any idea?

Wayne Luke 02-22-2007 11:39 PM

Toss:

ini_set('display_errors',1);

Into your config.php under the <?php and paste the actual error here.


All times are GMT. The time now is 11:40 AM.

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.02102 seconds
  • Memory Usage 1,841KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete