PDA

View Full Version : Portal Software - Article Forums Module for vBa CMPS


bananalive
06-10-2009, 10:00 PM
This allows a module to be placed onto vBa CMPS page with same look (including thread thumbnail) as Article Forums.

Demo (http://www.bananalive.co.cc/portal.php?pageid=afexample)


Requires:
Article Forums (https://vborg.vbsupport.ru/showthread.php?t=211638)
vBadvanced CMPS (http://www.vbadvanced.com/products.php?do=productinfo&productid=4) (available from external site only)Installation
Import .module file into vBa CMPS
vBa CMPS -> Download / Upload Module -> Upload Module
Add Module to vBa pageDon't forget to Mark as Installed :)

bananalive
06-11-2009, 03:25 PM
Reserved post

Reece^B
06-11-2009, 04:12 PM
Nice one, is there a chance of having something like this but for the geeks version?

bananalive
06-11-2009, 05:00 PM
Nice one, is there a chance of having something like this but for the geeks version?

You'll have to ask the modification's author.

john102774
06-11-2009, 09:53 PM
I'm getting this error message when trying to upload the module.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/admincp/vba_cmps_admin.php on line 3947

The file you have uploaded is not a valid module file.

I'm using vb3.8.2 vBadvanced CMPS v3.2.0

wickedstangs
06-12-2009, 05:32 AM
Same issue here as above

bananalive
06-12-2009, 09:54 AM
Fixed in v1.4. Download from first post.

I'm getting this error message when trying to upload the module.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/admincp/vba_cmps_admin.php on line 3947

The file you have uploaded is not a valid module file.

I'm using vb3.8.2 vBadvanced CMPS v3.2.0

Same issue here as above

Bram H
06-12-2009, 11:05 AM
You are a God! Totally works now! Thanks so much!

Nadeemjp
06-12-2009, 01:19 PM
it says an invalid module file
i am using version 3.8.3

pmflav1
06-12-2009, 01:50 PM
did you unzip it?? It installed on my 3.8.3 without any issues

john102774
06-12-2009, 04:30 PM
Bananalive is the man! That update works. Good stuff bro.

w2k3
06-12-2009, 05:15 PM
How show oldest articles ?

john102774
06-13-2009, 08:01 PM
I'm getting this error message on another vbcommunity after installing and trying to view threads with at lease 20 replies. VB3.8.3 CMPS v3.2.0

https://vborg.vbsupport.ru/external/2009/06/108.jpg

masterb44hz
06-14-2009, 10:57 AM
Thanks mate. Just waited for this :)

hotrod122
06-15-2009, 11:52 PM
I want to show just one article on CMPS, figured that out...but how do i make it show more of the article?
right now it just shows like maybe 25 words or so.
Thanks!

bananalive
06-16-2009, 12:09 PM
I'm getting this error message on another vbcommunity after installing and trying to view threads with at lease 20 replies. VB3.8.3 CMPS v3.2.0

https://vborg.vbsupport.ru/external/2009/06/108.jpg

Do you get the same error on articles.php?

I have tested it on my forum with a thread of over 20 replies and it doesn't (and shouldn't) affect it.

bananalive
06-16-2009, 12:09 PM
I want to show just one article on CMPS, figured that out...but how do i make it show more of the article?
right now it just shows like maybe 25 words or so.
Thanks!

Alter in vbulletin Options -> Article forum Options -> Article Preview Length

bananalive
06-16-2009, 12:11 PM
How show oldest articles ?

vbulletin Options -> Article forum Options -> Default Sort Order -> Yes

Then Change forum settings
Forums & Moderators -> Forum Manager -> Edit Forum

Default Sort Field: Thread start time
Default sort order: Ascending

VonDoom
06-24-2009, 03:30 AM
*Installed* i love this mod. it looks very clean and professional. and saves a ton of room.

skooby
06-24-2009, 10:02 PM
Alter in vbulletin Options -> Article forum Options -> Article Preview Length

Hi, I tried to do this (raised it to 100), but it still shows 25 or so words... The change takes affect though on articles.php, so it's only the vba that has the problem.

I also tried to go into the vba options, edit the module, and change the Maximum Characters of Thread Title to Display as high as 1000 but it still shows 25 words. What am I doing wrong?

HoneyHaHa
06-25-2009, 05:40 AM
You have yet again delivered another gem to the community.

Installed and nominated.

Top Banana :up: :D

Merjawy
06-28-2009, 10:51 PM
Right, the post preview doesn't change no matter what number .. any fix for that please?

Thanks for the mod .. I am working on a test forum with vBa

bananalive
06-29-2009, 07:43 AM
Right, the post preview doesn't change no matter what number .. any fix for that please?


Thanks for the mod .. I am working on a test forum with vBa

Try attached file

Also should fix max title length issue

Merjawy
06-29-2009, 09:12 PM
you did it bananalive :

great work,, its working great now with different numbers.. Thanks

if you can just add a lil request please,, add [Read More]

I know I posted in your other mod .. sorry for the double post.

Thanks again

rabidkevin
06-30-2009, 06:14 PM
Could you make a version to be used on any external page? I have a custom home page written and I can usually break down a vba module to be used but this one looks a bit more complicated :/, I think a lot of people may find it useful to be able to include it in to a custom written page. Any help would be thankful!

ade5675
07-05-2009, 04:42 AM
Nice mod as usual, bananalive

*** installed ***

Martyn1983
07-08-2009, 07:41 PM
Top notch!

Quick query - on the portal, where the items of news are listed you have 'by (author)' - where about is this text listed for making minor alterations? For example, I'd like it to perhaps say 'Posted by...Author'

Cheers

Feanor_87
07-12-2009, 12:13 AM
Great Mod, works perfect, thanks! :)

Is there anyway to show the HTML Markup on the usernames?

Bram H
07-13-2009, 09:33 PM
would it be possible to outline the thumbnails to the right bananalive?

vgevolution
07-13-2009, 10:06 PM
Hmm, it would be nice to be able to choose which categories this pulls articles from for the listing. That would make it VERY useful.

bananalive
07-17-2009, 04:44 PM
you did it bananalive :

great work,, its working great now with different numbers.. Thanks

if you can just add a lil request please,, add [Read More]

I know I posted in your other mod .. sorry for the double post.


Thanks again

Find in template af_threadbit
$thread[preview]
Add After:
[Read More]

bananalive
07-17-2009, 04:47 PM
Top notch!

Quick query - on the portal, where the items of news are listed you have 'by (author)' - where about is this text listed for making minor alterations? For example, I'd like it to perhaps say 'Posted by...Author'

Cheers

Find in template :
<phrase 1="member.php?u=$post[userid]" 2="">$vbphrase[by_x]</phrase>
Replace:
Posted by... <a href="member.php?u=$post[userid]" rel="nofollow">$post[username]</a>

bananalive
07-17-2009, 04:47 PM
Great Mod, works perfect, thanks! :)

Is there anyway to show the HTML Markup on the usernames?

No.

bananalive
07-17-2009, 04:51 PM
would it be possible to outline the thumbnails to the right bananalive?

Find in af_articlebit:
<div style="float: left; padding-right: $stylevar[cellpadding]px; padding-bottom: 4px; $thumbdivstyle">
Replace with:
<div style="float: right; padding-left: $stylevar[cellpadding]px; padding-bottom: 4px; $thumbdivstyle">

bananalive
07-17-2009, 04:51 PM
Hmm, it would be nice to be able to choose which categories this pulls articles from for the listing. That would make it VERY useful.

I'm not sure what you mean.

Merjawy
07-18-2009, 04:19 AM
Find in template af_threadbit
$thread[preview]
Add After:
[Read More]


Thanks bananalive ... works great now

Merjawy
07-18-2009, 04:47 AM
Find in template :
<phrase 1="member.php?u=$post[userid]" 2="">$vbphrase[by_x]</phrase>
Replace:
Posted by... <a href="member.php?u=$post[userid]" rel="nofollow">$post[username]</a>

Thanks for that too,, you could add it to af_articlebit like I did and looks great there too

rasp187
07-19-2009, 01:18 AM
This looks great but I am having a slight problem. For some reason it's not displaying any of the thread information on the main page. It shows the title, an image, and the author, but no information of what's contained within the thread. I've played around with numerous settings and still can't figure it out. The website is www.thecatacombs.net

Thank you.

Martyn1983
07-19-2009, 10:52 PM
Thanks for that too,, you could add it to af_articlebit like I did and looks great there too

I'm maybe having a thick moment, but I cant find the line to change in any of the template files!

38modify
07-20-2009, 02:21 AM
Hi all. First of all this mod was excellent!! Works perfect for what I needed. I am wondering however... I need 2 news type deals (For seperate pages)

I can only select 1 forum to be the news in my admin cp. Is there anyway to do more than 1? as in how could I get 2 to 3 other forurm categories on my site to do the same thing?

Thanks in advance.

Saviour
07-20-2009, 11:58 AM
I'm currently using an earlier version of this module.

If I want to update the module to the latest 1.4 version...what's the process?

bananalive
07-20-2009, 01:40 PM
This looks great but I am having a slight problem. For some reason it's not displaying any of the thread information on the main page. It shows the title, an image, and the author, but no information of what's contained within the thread. I've played around with numerous settings and still can't figure it out. The website is www.thecatacombs.net

Thank you.

Check setting in vBulletin Options -> Article Forum Options -> Article Preview Length

bananalive
07-20-2009, 01:40 PM
Hi all. First of all this mod was excellent!! Works perfect for what I needed. I am wondering however... I need 2 news type deals (For seperate pages)

I can only select 1 forum to be the news in my admin cp. Is there anyway to do more than 1? as in how could I get 2 to 3 other forurm categories on my site to do the same thing?

Thanks in advance.

Sorry that's not possible

bananalive
07-20-2009, 01:41 PM
I'm currently using an earlier version of this module.

If I want to update the module to the latest 1.4 version...what's the process?

Unzip archive, then

Import .module file in vba admincp and allow overwrite when it asks.

Saviour
07-20-2009, 02:24 PM
Unzip archive, then

Import .module file in vba admincp and allow overwrite when it asks.

Thanks...:)

rasp187
07-20-2009, 02:39 PM
Check setting in vBulletin Options -> Article Forum Options -> Article Preview Length

No matter what I set it do, it does not show a preview. The only way I can get it to show anything is by turning the BB Code option on, and then it displays the entire news post. I've re-installed it and it still doesn't work, yet every other option does, so I have no idea what to do, lol.

Any other ideas?

Saviour
07-20-2009, 03:07 PM
Shows for all usergroups except Admin. All usergroups checked for this module.

Saviour
07-20-2009, 03:43 PM
Decided to remove the module...reverted the af_article template...and reinstall the module.

Your installation instructions state:

(there is no need install templates on styles as Article Forums installed templates so you do not need to select 'Style to install templates to')

However, it won't let me install the module unless I do.

Update...

After re-installing module...and selecting templates...still shows for everyone except Admin.

Never mind...just had to go to the Customization page...it then activated the module...all's good.

bananalive
07-21-2009, 03:42 PM
No matter what I set it do, it does not show a preview. The only way I can get it to show anything is by turning the BB Code option on, and then it displays the entire news post. I've re-installed it and it still doesn't work, yet every other option does, so I have no idea what to do, lol.

Any other ideas?

Try the latest version I've got.

Eruantien
07-28-2009, 09:46 AM
Receiving the following error when I go to import the file...

XML Error: Not well-formed (invalid token) at Line 1

klaush
07-29-2009, 06:27 AM
Great stuff, thanks. Is it possible to reduce the size of the font?

bananalive
07-29-2009, 06:10 PM
Great stuff, thanks. Is it possible to reduce the size of the font?

The default article font size? Edit template af_articlebit and on first line after <div add class="smallfont"

bananalive
07-29-2009, 06:11 PM
Receiving the following error when I go to import the file...

Are you extracting the .zip archive first?

klaush
07-31-2009, 07:54 AM
Thanks a lot. That did the trick!

The default article font size? Edit template af_articlebit and on first line after <div add class="smallfont"

Eruantien
07-31-2009, 09:14 AM
Are you extracting the .zip archive first?

yes

Eruantien
07-31-2009, 03:01 PM
<a href="http://www.loremaster.org/articles.php" target="_blank">http://www.loremaster.org/articles.php</a>

Still an encoding error that I can't figure out.

HappyFeet
08-02-2009, 06:40 PM
Nice work! Installed:up:

Bram H
08-05-2009, 06:44 PM
Sorry for the late reply Bananalive but the pictures are now lined out to the right after your tips. Thanks a million for the brilliant and fast support on this mod.

:up:x100

Qwest
08-11-2009, 03:38 PM
It's still ignoring every setting I use to try and get it to limit the article preview. It is still showing the full articles.

I set the vbulletin options - > Article Forum setting for article preview to 10 and it still shows the full article.

I'm using 1.4b

Saviour
08-12-2009, 06:54 PM
bananalive...

On my portal page...I just found out this Recent Articles module fails CSS 2.1 validation. If I set the module to "Inactive" the portal page passes CSS 2.1 validation.

I'm using vBulletin 3.8.4, vBa 3.2.0, this mod...and W3C's CSS validator.

You have a fix for this?

Chimpie
09-04-2009, 09:24 PM
This looks great but I am having a slight problem. For some reason it's not displaying any of the thread information on the main page. It shows the title, an image, and the author, but no information of what's contained within the thread. I've played around with numerous settings and still can't figure it out. The website is www.thecatacombs.net

Thank you.

Check setting in vBulletin Options -> Article Forum Options -> Article Preview Length

This works for the articles.php page, but it does not increase the number of characters in the module.

Thoughts?

The DaveyG
09-09-2009, 11:51 PM
This module is completely ignoring all my settings. Any help?

Kiint
09-11-2009, 02:11 PM
Demo Site is now closed.....any chance of some screenshots of what this does?

NTMID8
09-13-2009, 04:54 AM
How do I change the number of Articles shown in this module?

Vital Signs
09-17-2009, 06:41 PM
I am having a few problems. The mod is showing the full article and I only want to show a small section. Is there any way to fix this?

I have tried everything you duggested to other people, but still no luck. :(

solidlink
09-17-2009, 08:27 PM
How do I change the number of Articles shown in this module?
As above.......... i need to know too. thx

EDIT: Under your adminCP > VBA CMPS > Edit Modules > Recent Articles > Edit Module > Recent Articles Options > Number of Threads to Display

Default is 10 i believe

evilzombie
10-06-2009, 11:33 AM
Im using the img align bbcode found here https://vborg.vbsupport.ru/showthread.php?t=220610

However when I use this to align my img in the article this mod will no longer pick up the img & display a thumbnail. Any way to fix this?

buurman
10-30-2009, 12:14 PM
First of all, awesome module you made here... im lovinging it and dished my vbnews. :)

I would also like a second category to a different forum, but I understand .. not possible.
Any way to cheat the system?? plz??

Again.. loving it banana!

buurman
10-30-2009, 02:00 PM
If your using the "newest first" option in your profile to view the forum, then the layout is busted.

Is it possible to force "oldest first" or something? .. thx!

buurman
10-30-2009, 02:19 PM
Sorry, dont get me wrong, loving it, just dont have the brains to do it myself...

Is it possible to gt a ">>Read more.... < link at the cut off length?

Jojonas
12-29-2009, 06:35 PM
I've the same problem, with the preview length mode. Is there any solution available?

I've recentarticlesv1.4b.

Jonas

wmlvb
01-16-2010, 11:21 AM
I have several news forums that have articles that are RSS feeds from other site. Will this mod conflict with that? Thanks

wmlvb
01-16-2010, 11:22 AM
are you going to update to vb 4.0 so we do not have to pay premium to have the vb version? Yours is better anyways.

LordDB
01-20-2010, 10:37 AM
are you going to update to vb 4.0 so we do not have to pay premium to have the vb version? Yours is better anyways.

the great news is that, vBa CMPS v4.0 is now available for vB4:
http://www.vbadvanced.com/forum/showpost.php?p=182760&postcount=1

@bananalive, it would be excellent if you could produce this Add-on for vBa CMPS v4! :)

Thanks!

BlackThorn
03-13-2010, 05:25 PM
Installed, thank you.

BUT

Show Number of Views
Show Number of Replies
Show Last Post Info
Show Forum
Show Preview of Threads
Show Thread Icons and like this alot of options DOESN'T WORK.

Why?

mgcom
03-13-2010, 07:11 PM
Installed, thank you.

BUT

Show Number of Views
Show Number of Replies
Show Last Post Info
Show Forum
Show Preview of Threads
Show Thread Icons and like this alot of options DOESN'T WORK.

Why?

What he said

Excellent Mod Though, thanks

BlackThorn
03-13-2010, 07:59 PM
What he said

Excellent Mod Though, thanks

I can't understand you now? What do you mean?

What he said, i didn't see it yet :S

jmillsss
04-20-2010, 09:51 PM
Would anyone know why the article image (thumbnail) only shows when you are logged in? If you are logged out it shows a red X (IE) or no image at all (firefox).

mgcom
04-22-2010, 08:04 PM
Would anyone know why the article image (thumbnail) only shows when you are logged in? If you are logged out it shows a red X (IE) or no image at all (firefox).

something to do with permissions ?

jmillsss
04-23-2010, 02:40 AM
something to do with permissions ?

Yep, there's a thumbnail permission for unregistered/not logged in users. Thanks!

hubie
05-02-2010, 02:25 PM
Does anybody know how to enlarge the size of the preview images? Default is 100px x 100px.

Fil*
07-09-2010, 09:52 AM
Hello, I'm using vBulletin 4.0.4 and vBadvanced 4.0.1. I get an error when I add this module to VbA -

MySQL Error : Unknown column 'attachment.thumbnail_filesize' in 'field list'
Error Number : 1054

As I looked into the database, there is nothing like thumbnail_filesize in attachment in the database. Looks like it was put away in vB 4.x.x. When I deleted that sql select from recentarticles.php, another database error with post.postid appeared. So apparently this module will not work with vB 4 until some changes would be made to the script.

payman
07-18-2010, 11:10 AM
As above.......... i need to know too. thx

EDIT: Under your adminCP > VBA CMPS > Edit Modules > Recent Articles > Edit Module > Recent Articles Options > Number of Threads to Display

Default is 10 i believe


hi use this setting but i want : when new post ( 11 's post )send

dont hidden old post so page number for me

do you know ?

means :

i have 100 post

in main page i want see 10 post Article but other post in page number in footer see me

like this :
http://up.iranblog.com/Files/a1cc3b7dca5149a5bae9.gif

pls help me very important

Artes_Marciales
02-15-2011, 01:02 PM
BBcode not work for unregistered/not logged then breaks the design module.
Registered users can see perfectly the module. :confused:
any ideas?

http://img543.imageshack.us/img543/7838/tables.gif (http://img543.imageshack.us/i/tables.gif/)

merk_aus
06-13-2011, 11:15 PM
This would be awesome if it could be updated to vb4.

av8or1
06-16-2011, 07:47 PM
This would be awesome if it could be updated to vb4.

I have done that (more (https://vborg.vbsupport.ru/showthread.php?p=2207342#post2207342)). FYI.

Thanks,

Jerry

av8or1
06-18-2011, 10:18 PM
Distributed will full permission from bananalive. (more (https://vborg.vbsupport.ru/showthread.php?t=265437))

Toorak Times
02-19-2012, 02:57 PM
This suits my purposes perfectly, bananalive can you pm me please, I have had no luck contacting you, Cheers, Mick

viper357
07-23-2012, 08:52 AM
Does anybody know how to make this show random articles? Thanks.

dizzynation
12-29-2012, 03:57 AM
Uploaded, no issues, perfect!

viper357
03-24-2013, 09:16 AM
Does anybody know how to make this show random articles? Thanks.bump, please, anyone? :)

viper357
03-31-2013, 08:33 AM
Does anybody know how to make this show random articles? Thanks.Anyone? Noone? Someone? :o

viper357
07-12-2015, 08:30 AM
2 years later and I'm still looking for anyone to help with how to make this show the articles in random order? :o Thanks. :)

bananalive
07-15-2015, 02:42 PM
2 years later and I'm still looking for anyone to help with how to make this show the articles in random order? :o Thanks. :)

Find

ORDER BY $mod_options[portal_threads_orderby] $mod_options[portal_threads_direction]


Replace with

ORDER BY rand()

viper357
07-15-2015, 03:51 PM
Thank you very much. :up:

dorutech
07-19-2015, 10:29 PM
demo is not working