The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBaCMPS Latest Geek Articles Details »» | |||||||||||||||||||||||||
Hack: vBadvanced CMPS Latest Geek Articles
Version: 1.0 Author: Me Instructions: upload modules/latestgeekarticles.php into modules folder upload admincp/latestgeekarticles_install.php into admincp folder run above file Follow the slight file modifications in the README. File modifications: 1 Template modifications: 0 Installer: Yup. A very cool one. Phrased: Yup In a nutshell, this module is based upon the vBa Latest Topics module, but is instead set up to pull the 'Latest articles' from a specified forum. This is really designed for those using The Geek Article System. Check out the Readme that comes in the package. Change Log version 1.3 uploaded 02/02/05 Minor update to module in order to work with new vBaCMPS release version 1.2 uploaded 07/01/05 Fixed 'Excluded Forums' bug that appeared to have been bitten by Zombie. It came back to haunt one user so I had to take drastic action and update it. It now WORKS with your 'excluded forums' setting. That is to say, you can exclude your acticle forums from 'Latest topics' but they will still happily appear in Latest Articles. Please note that this means there is now a file edit. Please read the README. version 1.1 uploaded 07/01/05 Fixed bug where when users had vba excluded forums set, it caused a query error. To fix, download latest package and upload latest modules/latestgeektopics.php overwriting your old one. note:if you dig this module, you may be interested in the Featured/Random Articles one too. PS: Your template will be a tad different from my screen shot as this is for my style. nJoy Show Your Support
|
Comments |
#52
|
|||
|
|||
It seems there are some bugs in this thingy too. The post date is shown as well as the last date for the comment made. There seems to be no option to remove this except edit the template.
Also, the option to show views/comments is not conditioned in the modul so it is displayed by default. Could be a good idea to remove this (I hardly have any comments on my articles, people just read and go post something intelligent elsewhere in the forums). I just commented that bit out in the module. I think I have installed almost everything by you now. So now I can take one of those vBa Links Directory popup things, thank you. That would be a killer. |
#53
|
||||
|
||||
Quote:
|
#54
|
||||
|
||||
Quote:
|
#55
|
|||
|
|||
Hi
Just wondering if this is possible with your hack and that is, i use your article system to run a card of the day system. I would like to have the latest new card of the day thread (not new replies) including the attachment of the card which is uploaded with it shown on my vbadvanced homepage. Is this possible. Thanks Kirk |
#56
|
||||
|
||||
Quote:
Sounds like a cool idea - but no this wouldnt work for you. Sorry |
#57
|
||||
|
||||
Hello,
When creating new module templates, they need to be written like this: adv_portal_TEMPLATE NAME However, when you are adding the module to the pages, it is not entered with the prefix. All you enter for the template name on the "add module" page is the template name. So where it asks for template name, you only enter: TEMPLATE NAME If you add the prefix in the add module section, it will not work! |
#58
|
|||
|
|||
any reason why it shows the last 3 posts rather then articles?
.matt |
#59
|
||||
|
||||
not sure what you mean matt - are you sure you have the correct forumids in?
|
#60
|
|||
|
|||
Quote:
|
#61
|
|||
|
|||
Hi there,
thanks for this excellent hack. I installed it following the instructions, and the hack does display the latest articles on the portal page. But every so often, I get the following error: Database error in vBulletin 3.0.6: Invalid SQL: SELECT thread.threadid, thread.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, IF(views <= thread.replycount, thread.replycount+1, views) AS views, thread.lastposter, thread.lastpost, pollid ,thread.forumid, forum.title AS forumtitle , post.pagetext AS preview FROM thread as thread LEFT JOIN forum AS forum ON (thread.forumid = forum.forumid) LEFT JOIN post AS post ON (post.postid = thread.firstpostid) LEFT JOIN deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread') WHERE open <> '10' AND thread.visible = 1 Array AND deletionlog.primaryid IS NULL ORDER BY thread.dateline DESC LIMIT 4 mysql error: You have an error in your SQL syntax near 'Array AND deletionlog.primaryid IS NULL ORDER BY thread.dateline DESC LI' at line 14 mysql error number: 1064 What could the problem be? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|