![]() |
|
#61
|
|||
|
|||
|
Yep, you are right about what you said. I already new that, I just worded it wrong on here. I said page name, I really meant "Page ID". I new that I had to put the page id in.
Lets touch up on the intergration section. I put together TWO cmps pages. One cmps page is intergraded with the forumdisply.php and showthread.php. I called this page "Forum Modules" page id "ForumModules". This page will wrap around most of my forums with the modules I enable. Second page is Page ID "ProLeague2". This page has nothing intergrade to it. Should it have something? On this page I have one module and the custom page content enable in the center to show up above my forumdisply.php?f=1 page. Now in my "Plugin Manager" I edited this section called "vba_cmps_include_getpage" and put in the code below in this section. Quote:
Now when I made my ProLeague2 page, I made it as a module page and not a template page. Because template page is not setup where you can enable modules to your page. So I feel I setup the right one for this page. This goes for my other page id called "ForumModules". But this page I intergraded it to the forumdisply.php and showthread.php. Where am I going wrong? |
|
#62
|
|||
|
|||
|
Here is something you guys might need to know. Try to follow me here.
Right now, my MAIN forum is on Lobby.php and not "Index.php". Now I put together a cmps page id called "Lobby". I intergraded this Lobby page to my "Lobby.php", so that I can add modules around my main forum. This is working just fine. Now here is what you need to know. This all works fine when you goto my main domain with "www.mydomainname.com/Lobby.php". But when you go to the cmps page that looks like this "www.mydomainname.com/index.php?pageid=Lobby" it only shows my modules and not the custom content "Forum". Is this normal? Because it does the same thing with the "ProLeague2" page too. It only shows the one module I enabled in the center. MrMichigan |
|
#63
|
|||
|
|||
|
Quote:
ok, i read the thread more carefully and it seems that what i asked above is not what this thread is describing. if i'm wrong please let me know (and maybe point me in the right direction) thanks! (EDIT) ok i'm a vBa n00b. found what i needed to do by changing the category the forum link points to in the specific Page settings
Last edited by Magick; 02-17-2009 at 11:08 AM. |
|
#64
|
||||
|
||||
|
Quote:
Can you link me to the site where you're trying to install this so I can have a look at things? |
|
#65
|
|||
|
|||
|
I found the problem. Look at my code again up top. There is a tiny little thing missing. That tiny little thing is this "}" at the VERY bottom.
When I highlighted the code from this forum, I must have missed highlighting this "}" at the very bottom of the code. My bad!! I feel like a ass. Thanks again guys for taking the time to look at my problem. Computers are crazy on how a little thing like that can stop something from working. Thank you, MrMichigan Last edited by mrmichigan; 02-17-2009 at 07:33 PM. |
|
#66
|
||||
|
||||
|
Ahhh, I figured you just didn't copy that line when you posted it here. It should have shown an error at the top of the page if it was missing... Glad you got it figured out either way though.
|
|
#67
|
|||
|
|||
|
I'm loving the way this works so far! I was wondering, is there a way to have it command some modules in certain columns to be "minimized" automatically upon the page being opened? I would like it so that certain modules are "expanded" on the main page where the forum topics are, but when people go in to read the thread certain modules will become "minimized." Is there a way to add some code int there to check if it is viewing the thread, and command modules in a certain column to be minimized?
I know this is could be getting into a lot of stuff, so if it's extremely difficult just say so and i'll forget about it. But if i'd like it to work if it could. |
|
#68
|
|||
|
|||
|
In response to Neutral Singh's ThreadID plug-in suggestion,
I tried creating a new plugin based on threadid's but nothing new happens when I click on the specific thread. It does not redirect to the "EPI" page. What I am trying to do is to redirect a specific thread to a page I created rather than displaying just the thread. Quote:
V |
|
#69
|
|||
|
|||
|
I "think" this is something I have been looking for (but correct me if I am wrong)...
Does anyone have any examples of where they have this implemented? Here is what I am trying to accomplish: I have a website (mysite.com for example). My forums are located at mysite.com/forums. I would like to display just one specific category of those forums on the mysite.com homepage (as well as in the regular forums section if possible). Please let me know if that's what this thread is covering (and if anyone has some examples that would be very much appreciated)! Thanks! |
|
#70
|
||||
|
||||
|
and this is all thanks to following Brian's instructions
Food & Entertainment http://www.globalbuzz-sa.com/forums/...splay.php?f=32 Health & Fitness http://www.globalbuzz-sa.com/forums/...splay.php?f=37 Business & Finance http://www.globalbuzz-sa.com/forums/...splay.php?f=37 these are simple examples for different content according to forum topic or category ps.. Thanks Brian
__________________
Travel Information Last edited by Globalbuzz; 02-18-2010 at 12:10 PM. |
|
#71
|
|||
|
|||
|
Quote:
Hi Brian, I am experiencing the same problem but in my case it doesnt get resolved even if i put in the whole codes including the notorious }. The problem is i have a forum page without any CMPS wraps which i am trying to do now. I have some doubts regarding the integration. When i integrate the pages with the forumdisplay.php it ask me whether i want to do it with either some page or THIS_SCRIPT. I dint put anything inside THIS_SCRIPT box so i am assuming i haven't used THIS_SCRIPT (according to your instruction). Regarding the hook, I use _integrate_page to put in the codes you provided. If i want to wrap the whole forums instead of specific ones, what shud be the code and which hook should i use?? Thanks in advance. |
|
#72
|
||||
|
||||
|
I need some help on this as well.
I have my entire forums wrapped in vBadvanced to have the site navigation etc modules in a left column. What I just need is the threads (i.e. posts) that are contained in 2 forums to not display any modules as the threads in these 2 forums contain wide content for small screen resolutions. I have a page called Forums with all the vb files integrated using the This Script method including ForumDisplay and ShowThread - I used this walk through: http://www.vbadvanced.com/forum/show...ht=integration to integrate all the vbulletin pages I created a new page with a Page Identifier of test with no modules The threads that I want to NOT show any modules are in forums 33 and 258 I added this plugin: Code:
if (isset($_REQUEST['f']))
{
$_REQUEST['forumid'] = intval($_REQUEST['f']);
}
switch($_REQUEST['forumid'])
{
// Quick example for just one forumid
case 33:
$getpage = 'test';
break;
case 258:
$getpage = 'test';
break;
}
I need it to still show the modules on ForumDisplay but NOT when viewing a thread in those 2 forums. This will then show the posts in the thread using the entire screen width. Also note that I use vbSEO if that has any impact Any suggestions on resolving this are greatly appreciated. |
|
#73
|
||||
|
||||
|
The CMPS page is set before anytype of thread information is set, so there's not really going to be an easy way to change the CMPS page based on what forum a thread is in.
__________________
Frequently Asked Questions CMPS Users Manual For vBadvanced software assistance, please use the support forums. Unsolicted PMs, IMs, and email will not be responded to. If you have a non-software related question or problem with your account, please submit a support ticket. |
|
#74
|
|||
|
|||
|
I'm a little confused so I'll ask a new question. It there a way to display a specific module in a specific forum?
What I'm looking to do is rotate banners specific to a particular forum. |
|
#75
|
|||
|
|||
|
Isn't there an ad management mod that can do this?
|
|
#76
|
|||
|
|||
|
I would be extremely interested in adding this functionality to show content relevant to the (sub)forum in the sidebar on my showthread.php pages. I have almost 400 (sub)forums(of which I would like to do this for 200 different subforums) and wonder if this can be done without too many queries and affecting performance.
Having this function in vba CMPS by default would be awesome. |
|
#77
|
|||
|
|||
|
I have this working on my site currently... and I'm using it to display different modules and a different header depending on what forum id they are in... however when they enter the thread it goes to the default display for a showthread in the forum is there anyway to make it so my threads in that forum ID display the same content I use for the forum ID they are located in...
Perhaps the answer was already stated above but could someone point out what I'm missing... ![]() UPDATE: My apologies... This was an issue I could have handled through the Forum Manager... I was using this mod to set my styles on the forum besides creating custom module layouts and neglected to actually use what Vbulletin already provided in the forum manager... Admin CP > Forums & Moderators > Forum Manager > (select Forum) Edit Forum -> Style Options > Custom Style for this Forum & Override Users' Style Choice By selecting the style over ride in the Forum Manager my styles now follow the forum id's and showthreads for the forums I used this mod on for my custom module layout for certain forumdisplay ID's... Perfect mod Brian... Thanks for all the excellent support here... Last edited by Onehalfmoa; 12-24-2010 at 02:29 PM. |
|
#78
|
|||
|
|||
|
is this mod working for anyone on vB4? Thanks
__________________
![]() Sikh Philosophy Network | Sikh Links Directory | Sikh Business Network Check My Profile for: SEO Tools :: Live Statistics Plugin |
|
#79
|
||||
|
||||
|
As far as I know the same code should work with vB4.
__________________
Frequently Asked Questions CMPS Users Manual For vBadvanced software assistance, please use the support forums. Unsolicted PMs, IMs, and email will not be responded to. If you have a non-software related question or problem with your account, please submit a support ticket. |
|
#80
|
||||
|
||||
|
Brian is there a way to use $tags to achieve the content shown. I use an auto tagging hack so all new threads are tagged when created. I can even set up default tags for each forum.
So as an example lets say the title has the word "widgets" in it. In the plugin (outlined above) the $tag "widgets" would display the module "widgets" The reason I ask is because I have a niche site and I want to display content relative results in new threads (ie-showthread) but doing it manually for every new thread is unrealistic. Creating modules each with a set of tags seems more doable. The only problem is that I have no ideal how to code it. Any ideals would be great... Thanks... |
![]() |
| 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 |
| disable modules for specific style/theme | wildo69 | "How Do I..." Questions | 9 | 04-15-2011 03:36 PM |
| Trying to add links to specific forums, in between nav items.. | Emraith | "How Do I..." Questions | 1 | 03-21-2007 10:38 AM |
| left side modules - specific forums | Rebecca | "How Do I..." Questions | 2 | 03-25-2006 07:13 AM |
| Modules for specific pages | angelosms | Troubleshooting & Problems | 8 | 12-25-2005 01:08 AM |
| Modules only one a specific style | e-steki | "How Do I..." Questions | 7 | 12-23-2005 01:19 PM |