The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[v3Articles & vbAdvanced CMPS] Featured Article Front Page Module (Basic) Details »» | |||||||||||||||||||||||||||
[v3Articles & vbAdvanced CMPS] Featured Article Front Page Module (Basic)
Developer Last Online: Nov 2013
v3Articles: Home - vb.org Thread
vbAdvanced CMPS: Home - vb.org Thread This takes the same featured article teaser that displays on your article.php page, and pulls it in as a center column module in CMPS. The template is easy to edit, so you should be able to have it show up any way you like. The number of characters to be displayed is controlled by what you set (or is set by default) in the v3article settings, but could be hard coded in cmps_feature if you wish it to be different. I said 'basic' in the subject line, because there are other people working on much more advanced and involved implementations of this. Also, the image handling code is commented out in cmps_feature.php, it should work fine if you remove the comments, but that's not something I've tested as I don't want the image functionality for the front page. Thanks to John for v3articles and Tigga/Brian for both CMPS and the last key bit of info that made this module work. Not surprisingly, both are up for HotM. Too bad it's at the same time, I want to vote for both. --edit-- If the screenshot doesn't help, you can see this in use at http://www.buckeyeplanet.com Show Your Support
|
Comments |
#12
|
|||
|
|||
Quote:
Quote:
If they do that, suddenly the bug in this add-on is a bigger deal. |
#13
|
|||
|
|||
I dont see it as a bug, more of a feature.
I did some template hacking and came up with the block bellow, its kinda a merge of both article block hacks. I will post up how to do it if no one objects, its realy easy to do and only took me 2 mins but I think it looks nice It would be nice to be able to use the first posted image as a thumbnail in the block as this would make it look realy nice. H |
#14
|
|||
|
|||
Quote:
|
#15
|
|||
|
|||
This is an easy template edit to allow you to display the contents of 2 different hacks using different php files into one block displaying the content of both. I take no credit whatsoever for the hacks as they were not made by me, I just did some template changes to suit my forum and wish to share them with others.
Ok first of all you need to install both the following hacks into your vbuletin install. Please backup your Vbull templates. Hack : [v3Articles & vbAdvanced CMPS] Featured Article Front Page Module (Basic) Link : https://vborg.vbsupport.ru/showthrea...threadid=66237 Author : wcbryant Hack : v3Articles - vBa CMPS module Link : https://vborg.vbsupport.ru/showthrea...threadid=66265 Author : maximux1 Once these are installed you need to make 2 modules we will call one Article Block A and one Article Block B details of which are as follows. Block Name : Article Block A Identifier : articleblocka PHP File : articleblock.php Active : Yes Column : Center Templates : adv_portal_blog,article_cmps Block Name : Article Block B Identifier : articleblockb PHP File : articleblock.php Active : Yes Column : Center Templates : adv_portal_article_module Set both blocks so that B is underneath A when displaid on the forum Now for your template edits...Replace the contents of both templates bellow with the text bellow the template name. //------------------------------------------------------------ adv_portal_blog //------------------------------------------------------------ PHP Code:
//------------------------------------------------------------ adv_portal_article_module //------------------------------------------------------------ PHP Code:
//------------------------------------------------------------ Dont forget to change the line The 'Top 5 Latest Articles' to show how many articles you are displaying, this can be configured in cmps-articles.php Thats it, go add some Articles and ensure you set at least one of them as a featured article. |
#16
|
|||
|
|||
Hacked worked like a charm and looks fantastic. To see it in action you can also check out www.xgplanet.com. Very simple and easy, works perfect.
|
#17
|
|||
|
|||
Hello.
I currently have a phpBB Forum but I plan to move to vB3. I have some questions regarding this hack or hacks. First of all, is this one single hack which is a combination of the vbAdvanced Home Page Hack and the v3Articles Hack, or is it something else? I intend to implement this hack because it looks good (I checked the site address given in the first post, something about American Football). What I would like to know is this: How do I set it up so that I have the home page (vbAdvanced) at the root folder (.com) and the Forums at .com/forum and the articles section at something like .com/info? I excuse myself if this is answered with some document in the software, I am currently trying to fix a problem with my PC which does not allow me to download, my sister or my mother must have meddled with my firewall (plus I cannot download vBulletin yet because they have not processed my Membership Renewal yet, I guess). |
#18
|
|||
|
|||
Ok if I understood correctly, do I have to install the other two hacks? (vbAdvanced and v3Articles)
|
#19
|
||||
|
||||
Quote:
Max |
#20
|
||||
|
||||
articleblock.php??? I have both mods installed yet I dont have a articleblock.php....
|
#21
|
||||
|
||||
No article_cmps either....
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|