![]() |
|
#1
|
|||
|
|||
|
A while back I asked about implementing left and right columns from vbAdvanced throughout the rest of the forum.
I was directed to this: http://www.vbadvanced.com/membersare...tid=4&pageid=6 ...which worked at the time, but now, after upgrading to vb 3.5 and vbAdvanced 2.0, I need to implement this again, but the above link isn't coming up. Could someone direct me to an updated link, or some other directions to do this? I like having login/latest threads on forumdisplay pages, because it also lets me put in links to Amazon products and things like that. Alternatively, if there is a way to do this using the new plugin feature of vb 3.5 that would work too... Thanks. |
|
#2
|
||||
|
||||
|
|
|
#3
|
|||
|
|||
|
Thanks Brian - looks even easier this time around.
|
|
#4
|
||||
|
||||
|
Yup, I figured out a much simpler way and updated the instructions a few weeks ago.
|
|
#5
|
|||
|
|||
|
I'd like to see a site that has this feature, anyone have a link ?
|
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
|||
|
|||
|
I'm having no luck with this.
Brian, I followed your instructions, but it's not working out as simply as it seems to be for others. Do I have to open my /forum/index.php and make the changes there, as well as every single php file this site uses, like search.php (for new posts, for example)? Also, when I first tried this on forum/index.php, I had a problem with how the boxes were laid out. I included content for all three columns, as I'm interested in having blocks on both the left and right sides. Sorry if I'm overlooking something simple. |
|
#8
|
|||
|
|||
|
Quote:
I don't know what to tell you as far as getting it to work without specifics on the problems you're having. All I can say is that it works, and very well. Brian did a great job with this. |
|
#9
|
|||
|
|||
|
When I tried this on the index.php page, I selected modules to be shown in all three columns, as I have modules in the right and left columns, as well as something (an ad) at the top of the center column. What this did was display my forum info in the left column, above my left column modules, and then had a big white space and then the right column modules.
|
|
#10
|
|||
|
|||
|
The only thing I can think of is to make sure that for the page you created, make sure you don't have modules checked that you don't want to appear, and make sure you have the custom content module checked. And then make sure you are calling that page on the PHP pages you want them to appear on, and not a different page.
|
|
#11
|
|||
|
|||
|
Hmmm. I'm pretty sure I did all that. I lodged a ticket. Maybe Brian can hook me up.
|
|
#12
|
|||
|
|||
|
i added this to my index and now it says the page's name in the title of index page. anyone kno how i can keep it as my forums title?
|
|
#13
|
|||
|
|||
|
Cool, Worked well for me, only took a couple of minutes
![]() Check the attachment for the settings i used on the page if it helps. ![]() oh and the code added to the index.php etc for the settings below was this PHP Code:
Last edited by JTyson; 10-21-2005 at 02:31 PM. |
|
#14
|
|||
|
|||
|
please help.. I had it working and messed it up..
now if i put it on the right it all line up fine, if i do the left all of it works except the bottom parts, they say centered and looks like crap.. please help.. here is how bad it looks www.crotchrocketracing.com click any form and you will see it works fine there.. ************** UPDATE ***************** Never mind.. Fixed it Last edited by cbr929rrerion; 10-23-2005 at 10:04 PM. |
|
#15
|
|||
|
|||
|
I posted a ticket, but Brian hasn't helped yet. I have a module that is in the top middle column, but it only shows up on the home page, no other php pages.
http://www.aximusers.com |
|
#16
|
|||
|
|||
|
Hi guys
Having a few problems with implementing this hack and could do with some pointers in the right direction. I'll talk you through the steps that i have done and the errors that i am getting. First step Open your /forum/includes/functions.php file. Or, if you are running vBulletin 3.5.x, look for this code: if ($vbulletin->options['addtemplatename']) Just Above this code, add: if (defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND !defined('VBA_SCRIPT')) { define('SKIP_OUTPUT', true); global $home; print_portal_output($home, $vartext); } Done that and the code from my functions.php file is below: if (defined('NOSHUTDOWNFUNC')) { exec_shut_down(); } if (defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND !defined('VBA_SCRIPT')) { define('SKIP_OUTPUT', true); global $home; print_portal_output($home, $vartext); } if ($vbulletin->options['addtemplatename']) { if ($doctypepos = @strpos($vartext, $stylevar['htmldoctype'])) { step 2/3/4 Click on the 'Add Page' link listed under your 'vBa CMPS' options in the left frame, and then click on 'Module Page. Once there, enter a Title and a Page Identifier for your page. You may call these two options whatever you would like, just be sure to make a note of what you used for the 'Page Identifier' option. For this example we are going to use 'include' for both. Since we only want to include the modules in the left column on this page, uncheck all modules that are in your right and center columns, with the exception of your 'Custom Page Content' module. This module is what will be used to display the content from the page you are integrating, so it must be active on this page. Or of course if you would like other modules to be active then you may leave them as active. Set any additional options that you would like, and then save the page Done that and called the new page "includes". Left handed modules have been selected and the custom page content module is the only module in the centre column. Step 5: Now you will want to open the vBulletin file that you would like to integrate. In the file, right after the opening <?php tag, you will want to add this code: define('VBA_PORTAL', true); define('VBA_PAGE', 'includes'); Note that if you changed the 'Page Identifier' setting for this page above then you will want to replace 'include' (marked in bold above) to whatever you used for the 'Page Identifier' option This has been added to the forum/forumdisplay.php and forum/calender.php files. Here is the code from one of those files: calender.php <?php define('VBA_PORTAL', true); define('VBA_PAGE', 'includes'); /*======================================================================*\ || #################################################################### || || # vBulletin 3.5.0 - || # ---------------------------------------------------------------- # || || # Copyright ©2000-2005 Jelsoft Enterprises Ltd. All Rights Reserved. || || # This file may not be redistributed in whole or significant part. # || || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # || || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # || || #################################################################### || \*======================================================================*/ // ####################### SET PHP ENVIRONMENT ########################### error_reporting(E_ALL & ~E_NOTICE); When i go to the vbadvanced page of my website and attempt to enter the forum and calender i get the following error displayed. Fatal error: Call to undefined function: print_portal_output() in /home/xxxxxxxx/public_html/exams/forum/includes/functions.php on line 2548 Any ideas on where i might be going wrong or if there are any mistakes in the steps/coding above. Any suggestions appreciated. mark
Last edited by dd4w2000; 04-21-2006 at 11:05 AM. |
|
#17
|
||||
|
||||
|
That error usually indicates that you haven't made the changes to your global.php file.
|
|
#18
|
|||
|
|||
|
When i add define('VBA_PORTAL', true);
define('VBA_PAGE', '2'); to links/index.php i get the following error. Fatal error: Cannot redeclare construct_orderby() (previously declared in blablabla forums/includes/functions_gallery.php:1343) in blablabla forums/includes/functions_links.php on line 282 any fix? |
|
#19
|
||||
|
||||
|
Double check that you have made the same modification to your functions.php file that is in the instructions now. They were just updated a week or two ago because of that problem.
|
|
#20
|
|||
|
|||
|
Nuffy,
You probably try to display gallery on a links page. Does not work since they use the same functions but with different content. Probably something needs to be unset?? Started to rename Links functions since I could not figure out what to be unset in Gallery before Links was called but after one was fixed another came up. A lot of uncached templates also. Fix one by one...... I gave up and went for another portal instead. Tried to post some questions about integrating not working with CMPS on Gallery and Links but no answer. Thought if I bought all modules from the same supplier they would integrate but I was wrong for the moment. Links need update since it's just a rewamped vb 3.0.x, mostly Gallery to. Probably works better when using pure 3.5 API and product/plugin system in an future updated version. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My vbadvanced site | kmayen | Show off your vBadvanced! | 3 | 06-15-2005 10:53 PM |
| vbAdvanced columns throughout forums | eam | Troubleshooting / "How do I..." Questions | 6 | 10-01-2004 01:20 PM |
| OUR vBAdvanced Site | bigsoccer | Show off your vBadvanced! | 1 | 04-09-2004 01:19 PM |