PDA

View Full Version : Forum Display Enhancements - Article Forums


Pages : 1 2 [3] 4

bananalive
06-09-2009, 08:04 AM
This is what I'd like to do...

I want to edit the Article Tools so that the only thing that shows up is the link to Edit the Article. Is this possible?

open template af_firstpost

Find and delete
<if condition="$show['closethread'] && $show['af_articletools']">
<div class="alt2 smallfont" style="padding: 5px; margin: 5px 5px 0px 5px;">
<a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$post[postid]" rel="nofollow">$vbphrase[post_a_comment]</a>
</div>
</if>

find and delete
<if condition="$show['member'] && $show['af_articletools']">
<div class="alt2 smallfont" style="padding: 5px; margin: 0px 5px 0px 5px;">
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$post[threadid]" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$post[threadid]" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
<if condition="$threadinfo['replycount'] && $show['af_articletools']">
<div class="alt2 smallfont" style="padding: 5px; margin: 0px 5px 0px 5px;">
<a href="#comments" rel="nofollow">$vbphrase[jump_to_comments]</a>
</div>
</if>

I also want the threadrate link to appear above or below it.


Find and delete:
<if condition="$show['threadrating']">
<div class="" id="threadrating" style="float: right;">
<a href="$show[nojs_link]#goto_threadrating"><span id="threadrating_current"><if condition="$show['rating']"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></span></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
</div>
</if>

-----------------------------------

Find:
<if condition="$post['editlink'] && $show['af_articletools']">
<div class="alt2 smallfont" style="padding: 5px; margin: 0px 5px 0px 5px;">
<a href="$post[editlink]">$vbphrase[edit_article]</a>
</div>
</if>

Below add:

<if condition="$show['threadrating']">
<div class="alt2 smallfont" style="padding: 5px; margin: 0px 5px 0px 5px;" id="threadrating">
<a href="$show[nojs_link]#goto_threadrating"><span id="threadrating_current"><if condition="$show['rating']"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></span></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
</div>
</if>

bananalive
06-09-2009, 08:08 AM
is it possible to have rss support for the article

You can use rss support for forum. See https://vborg.vbsupport.ru/showpost.php?p=1813517&postcount=311

Saviour
06-09-2009, 11:47 AM
Thanks, bananalive...

Bram H
06-09-2009, 12:34 PM
It would be nice if there was an vBa Integration for this great mod ;)
I am not good a coding myself therefore i would be glad if someone could do it.

+1 :)

I have tried to import the article.php and make a module of it and to a certain level it works great as a frontpage, but it excludes all the other modules you have running on your portal

But i have a feeling somebody is gonna help us out, would be the best vBa addition since sliced bread :D

bananalive
06-09-2009, 03:26 PM
+1 :)

I have tried to import the article.php and make a module of it and to a certain level it works great as a frontpage, but it excludes all the other modules you have running on your portal

But i have a feeling somebody is gonna help us out, would be the best vBa addition since sliced bread :D

Try importing this vba module.

dancue
06-09-2009, 07:01 PM
Cool, All you need now is a version check url so we can stay up to date with all the updates...

:)

dancue
06-09-2009, 07:17 PM
Try importing this vba module.

Can you align the info on this module? Like you did for the index page of the articles?

bananalive
06-10-2009, 08:21 AM
Can you align the info on this module? Like you did for the index page of the articles?

I missed out line.

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

dancue
06-10-2009, 10:55 AM
I missed out line.

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

Good, but now the articles aligned that do not have an image have the titles indented.

bananalive
06-10-2009, 01:29 PM
Good, but now the articles aligned that do not have an image have the titles indented.

This is only occuring for one of your articles due to image: http://www.billsretroworld.com/RetroJoe_Louis.jpg being non-existent. look at page2 of your articles to confirm this.

smirkley
06-10-2009, 02:29 PM
Still loving this mod,..

but I do want to suggest, although the quote feature is good for comments posts, I dont think it a great idea for the first article post as it is the headliner, and on at least my forums, usually are fairly large, and moderated prior to publication for public view.

But overall,... thumbs up!

RetroDreams
06-10-2009, 03:39 PM
Installed. Will give it a whirl.

lms
06-10-2009, 05:22 PM
Dejo la versión 1.8 traducida al ESPAÑOL.

Funciona de lujo

Salud2

I leave the version 1.8 translated to SPANISH.

Work very fine.

Greetings

gnrx
06-10-2009, 11:49 PM
Thanks lms ;)

RetroDreams
06-11-2009, 02:47 AM
1) How do you disable the reply button above the article? I know it's in the showthread template, but what conditional would I need to use to check to see if it's an article as opposed to the forums?

2) If I enable parse bbcode, then the article preview length quits working and it displays the whole article on the index. Is this a known bug?

Dunhamzzz
06-11-2009, 08:22 AM
I've just "upgraded" from 1.7 and don't see any affect, I've even revert my templates.

Do I need to remove and do a fresh install?

Where is the WOL supposed to be?

bananalive
06-11-2009, 08:43 AM
I've just "upgraded" from 1.7 and don't see any affect, I've even revert my templates.

Do I need to remove and do a fresh install?

Where is the WOL supposed to be?
There are more options in vBulletin Options -> Article Forum Options

You should not need to do a fresh install.

The WOL (Who's online Location) shows the correct location (ie. Article Index) on online.php when a member is viewing Articles.php

bananalive
06-11-2009, 08:45 AM
1) How do you disable the reply button above the article? I know it's in the showthread template, but what conditional would I need to use to check to see if it's an article as opposed to the forums?

2) If I enable parse bbcode, then the article preview length quits working and it displays the whole article on the index. Is this a known bug?
Use template code
<if condition="!$articleforum">Button code here - will only display for non- article forums</if>

2. I will look into this.

bananalive
06-11-2009, 10:23 AM
2) If I enable parse bbcode, then the article preview length quits working and it displays the whole article on the index. Is this a known bug?

Yes you are correct. Try attached file

RetroDreams
06-11-2009, 12:37 PM
That did work. However, I ran into something else. If you have bbcode parsing turned on, you do not get any thumbnails on the main articles index. You'll get your bbcoded image (if you had one in the article before the cutoff) but no thumbnail, even if you attached one to the article. Maybe the better option would be to strip bbcode on the articles index? Is that something that can be done?

Other Recommendations:

One last recommendation would be to give the user the ability to have the thumbnail on either the left or right side on the main articles index. Would imagine that would be fairly easy to implement.

Bram H
06-11-2009, 01:23 PM
I missed out line.

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

Wow thanks that you made this specially for us vBa users..

Unfortunately its not working correctly (yet) at our homepage. It lists all the recent articles alright but when you click on the title you get redirected to the portal again.

It points to a showthread while we use rewrited urls with vbseo... Also our cmps file is located on the www.domain.com and the forum is located at forum.domain.com

Nevertheless ace that you took the time to help out.

Saviour
06-11-2009, 01:42 PM
Bug found...

When you untick Most Commented Articles from the new options in AdminCP...it removes the entire right column...including Most Read and Top Authors...

bananalive
06-11-2009, 02:32 PM
Try attached file.

It should fix issue of url pointing to wrong directory when index_cmps.php is in different directory to forum.

That did work. However, I ran into something else. If you have bbcode parsing turned on, you do not get any thumbnails on the main articles index. You'll get your bbcoded image (if you had one in the article before the cutoff) but no thumbnail, even if you attached one to the article. Maybe the better option would be to strip bbcode on the articles index? Is that something that can be done?

Other Recommendations:

One last recommendation would be to give the user the ability to have the thumbnail on either the left or right side on the main articles index. Would imagine that would be fairly easy to implement.

Wow thanks that you made this specially for us vBa users..

Unfortunately its not working correctly (yet) at our homepage. It lists all the recent articles alright but when you click on the title you get redirected to the portal again.

It points to a showthread while we use rewrited urls with vbseo... Also our cmps file is located on the www.domain.com and the forum is located at forum.domain.com

Nevertheless ace that you took the time to help out.

bananalive
06-11-2009, 02:40 PM
Bug found...

When you untick Most Commented Articles from the new options in AdminCP...it removes the entire right column...including Most Read and Top Authors...

Fixed in attached file

rEd86
06-11-2009, 07:07 PM
Great add-on. I am not sure how extendable this is since it uses the vBulletin forums for posting and your leveraging most of what that provides, but here are a couple of feature requests:

1) It would be nice to be able to create an article that would appear in the future. That way I can create multiple articles and determine when they show up on the site.

2) It would also be nice to enable HTML postings for select authors. (this might be more of a vBulletin securiting setting/configuration) I'd like for a select group of trusted authors to be able to post an article that's HTML based so they have full formatting control but only allow "comments" to contain BB Code.

Thanks!

--Ed

Bram H
06-11-2009, 08:48 PM
@Bananalive: when importing the module i get the following error:

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

dancue
06-11-2009, 11:38 PM
This is only occuring for one of your articles due to image: http://www.billsretroworld.com/RetroJoe_Louis.jpg being non-existent. look at page2 of your articles to confirm this.

Ok, thank you!

Are both the vba module, and article forums threads up to date with the latest of your modifications?

I saw you upload a few within the posts and I don't want to miss out on anything.

dancue
06-11-2009, 11:44 PM
@Bananalive: when importing the module i get the following error:

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


Same here.

dancue
06-12-2009, 12:16 AM
Request:

Can we add an announcement between the letters and the main table? Would be nice to add the ability to have the newest articles scrolling through.

bananalive
06-12-2009, 09:55 AM
@Bananalive: when importing the module i get the following error:

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


Download latest version here: Article Forums Module for vBa CMPS (https://vborg.vbsupport.ru/showthread.php?t=215926)

It has the issue mentioned fixed.

bananalive
06-12-2009, 09:58 AM
Ok, thank you!

Are both the vba module, and article forums threads up to date with the latest of your modifications?

I saw you upload a few within the posts and I don't want to miss out on anything.

Latest vBa module for Article forums here: Article Forums Module for vBa CMPS (https://vborg.vbsupport.ru/showthread.php?t=215926)

Latest Article Forums in first post with latest product file here (fixes issue with which 'modules' to display on articles.php)
(https://vborg.vbsupport.ru/showpost.php?p=1827634&postcount=525)

Digital Jedi
06-12-2009, 12:03 PM
Since you have this working really well with the existing forums, I have another suggestion along those same lines. Can you add another option to the already default Notifications options of vB to where we can use the Notifications system to post one only on articles.php. Would also be nice to utilize Announcements in some fashion, like maybe across the top of the three columns.

But other then that, I really like using the forums as an articles section. I've managed to use the Extra Thread Fields mod with some limited success in the postbit, other then some HTML not parsing. But yeah, I like this. I'd much rather use what the system already does than having to learn a whole set of new Admin CP instructions.

Dunhamzzz
06-12-2009, 02:10 PM
Confirmed working fine with 3.8.3.

Qwest
06-12-2009, 02:50 PM
Bug:

When you switch on bbcode support it ignores the preview character limit and shows the entire article in articles.php. So you get a list of FULL articles down the page.

Qwest
06-12-2009, 02:58 PM
Sub-Forums to the selected 'Article Forum' will be shown as categories.
Yeah I need this for multiple categories too. I need to add articles sections to different forum categories other than the sub forums in just the one.

Really good mod. Not surprised it got MOTM.

bananalive
06-12-2009, 03:43 PM
Bug:

When you switch on bbcode support it ignores the preview character limit and shows the entire article in articles.php. So you get a list of FULL articles down the page.

https://vborg.vbsupport.ru/showpost.php?p=1827530&postcount=520

bananalive
06-12-2009, 03:43 PM
Confirmed working fine with 3.8.3.

Awesome :)

bananalive
06-12-2009, 03:46 PM
Yeah I need this for multiple categories too. I need to add articles sections to different forum categories other than the sub forums in just the one.

Really good mod. Not surprised it got MOTM.

The problem with multiple categories is how should they be distinguished. Should articles.php show both categories on left. some variable is possibly needed like articles.php?forum=1 :confused:

I'm open to suggestions

nohuhu
06-12-2009, 06:02 PM
bananalive, i asked this question once and unfortunately you haven't answered: how'd you think, is it hard to build some linking mechanism in your articles mod? let me explain what i'm talking about. i run an technically oriented automotive site and there are several forums dedicated to different car models. time after time, somebody posts something useful regarding repairs or like that, and naturally i'd like this post to be highlighted somehow, so novice users could see it before they ask the same question. i've tried using sticky threads but it's unusable since there's too much info and thread listings are overloaded with stickies. i would very much like to have some "knowledge base" section on my site and your articles mod looks very promising but it has one major drawback: an article should be a thread in corresponding forum. if i have thematical forums A and B i create Knowledge Base Article forum C i should either move or copy useful threads from "live" forums to "article" forum, using built-in vBulletin mechanisms. if i move a thread, moderators will lose control over it -- i cannot give all thematical forums moderators permissions for article forum, it'll be a mess. if i move and close thread, it'll lose part of its usability since novice users tend to ask questions within the same thread and stick to the topic. if i copy a thread to article forum, it'll be a mess too, users won't know where to ask questions and where to find the original useful thread.
having said that, now is the question: can you somehow make a thread from another forum to be displayed as an article if accessed from Articles section? i can imagine some sort of "links" on real thread placed in articles section, almost like thread links that one can place when moving a thread but displaying a "live" thread as an article not redirecting to another forum. this way i think it will be an ideal solution -- threads will still reside in their original forums within control of their moderators, users could easily find them via articles section and there is no duplication. can you implement this?

Digital Jedi
06-12-2009, 10:32 PM
Out of curiosity, why can't you do this?

if i move a thread, moderators will lose control over it -- i cannot give all thematical forums moderators permissions for article forum, it'll be a mess
Why would it be a mess exactly? Even if you don't want to give them all access to the Article's forum, which I don't see why not, wouldn't you have separate categories for each of your themes? So separate categories, separate moderators for each category, right?

Saviour
06-12-2009, 11:58 PM
I have a question...referred to it before but nobody replied.

I have a couple of hacks that include images where the usual images go...like Top of Page, Edit, Quick Reply, Multiquote, Quote, Post Thanks, Post Groan...

What happened to these images?

I tested it on a user account and the only images that show are the Post Thanks and Post Groan images. The Top of Page image hack I use...is no longer there.

Now... I'm trying to get this Articles forum right where I want it, but it seems to me...it's just one issue after another. Don't get me wrong...I love this mod...but if it ain't one thing...it's another.

I look at it this way...the "Article Tools" inline links created for this mod really aren't needed. Leave the images at the bottom for editing and whatever. Also...the Rate Article location is fine...but never really understood why it was moved from where the Article Tools in the table header currently are.

Anyway...Back to the situation at hand...

I want to include the following images at the lower part of the article thread...my Top image button and my Edit button.

Anyone know how to get these back...since this mod removed them?

ade5675
06-13-2009, 01:06 AM
Thanks bananalive,
this mod is very nice and very much useful to change the feel of my forum.
:up:

Digital Jedi
06-13-2009, 01:37 PM
I have a question...referred to it before but nobody replied.

I have a couple of hacks that include images where the usual images go...like Top of Page, Edit, Quick Reply, Multiquote, Quote, Post Thanks, Post Groan...

What happened to these images?

I tested it on a user account and the only images that show are the Post Thanks and Post Groan images. The Top of Page image hack I use...is no longer there.

Now... I'm trying to get this Articles forum right where I want it, but it seems to me...it's just one issue after another. Don't get me wrong...I love this mod...but if it ain't one thing...it's another.

I look at it this way...the "Article Tools" inline links created for this mod really aren't needed. Leave the images at the bottom for editing and whatever. Also...the Rate Article location is fine...but never really understood why it was moved from where the Article Tools in the table header currently are.

Anyway...Back to the situation at hand...

I want to include the following images at the lower part of the article thread...my Top image button and my Edit button.

Anyone know how to get these back...since this mod removed them?
If you've got some of the hook options disabled in this mods settings so as to hide some stuff, some of the other stuff that uses those hooks isn't going to display either. Also, some modifications display their content based on the HTML content of the postbit. So their either not looking for the article templates, or looking and not finding what they need to function. You'd have to edit the article templates directly to get everything you wanted to show up. It's going to be case by case for every mod you have installed.

Digital Jedi
06-13-2009, 01:46 PM
I look at it this way...the "Article Tools" inline links created for this mod really aren't needed. Leave the images at the bottom for editing and whatever. Also...the Rate Article location is fine...but never really understood why it was moved from where the Article Tools in the table header currently are.
I just wanted to say on this point, I don't second this motion. If this is something that get's a lot of requests, then might I ask you give folks the option to use the normal buttons if they want. I for one don't want the article postibit to look just like the regular posbit, or to have members reminded that their not looking at an article, but just another part of the forum. The tools menu gives the thread a sense of distinction, much the same way the menu on modification threads do here on vB.org. The more we get away from the usual look of the forum the better.

I would also suggest again that you try that inline editing feature, but check the z-index on that post. It's actually really convenient, and cuts down on page loads for a busy article forum.

edgegamers
06-13-2009, 01:58 PM
Has anyone discovered a way to get this integrated with VBA?

Saviour
06-13-2009, 03:51 PM
Well...the only way I have found (to get the edit buttons back at the bottom) for this mod is to disable the Article postbit for this mod. However...doing this makes it look like a regular post...which is not what I want.

Which still doesn't help when trying to get these buttons back at the bottom of the article/thread.

I like the idea of the user info to the right of the article, but the Article Tools links which are placed underneath do not seem to look right...but, hey...that's just me. Same with the Article's rating.

Now...if I can get the user info to the right of the article and my buttons back at the bottom...I'll be a happy camper.

Any suggestions?

nohuhu
06-13-2009, 05:55 PM
Digital_Jedi, i want to have some flexibility. if i go this way and create an article forum per each thematical forum, i'll have a very strange knowledge base -- some sections will be full and some will be empty. what's the point in that? i did say i have a lot of useful threads in my forums but they're not evenly dispersed so i would want to aggregate them by some other logic than i used for thematical forum separation. for example, a model forum may have subforums like "repairs", "tuning", "service tips" and so on, and rather than creating matching article forums tree i'd better create one "knowledge base - model A" forum and link all useful threads for particular car model in that forum regardless of their origin forum.
as for moderators, i have several of them in my forums and they tend to have their own moderating styles, not necessary like each other. i would want to avoid any conflicts in my forum staff and the best way to do this is to keep them separated. also, some forums don't have dedicated moderators (admins moderate them, of course) and i'd like to keep it that way but have means to add "golden" threads from there too.
am i clear now? i really think this mod could benefit a lot from such a feature, it will be much better suited for knowledge-oriented community boards and i see no way it could harm any other board either.

nohuhu
06-13-2009, 06:15 PM
Digital_Jedi,

a follow-up thought: also this feature could open a way for even more useful things. i, for example, strongly believe in community-driven decisions so i would like to give my users power to add threads to this knowledge base themselves. right now, in order to move a thread an user should have moderator's privileges and that is right, this feature is too dangerous for ordinary users. but suppose if we could link threads to knowledge base, that's not destructive in any way and this option could be given to users, in some restricted form of course. something like thread rating, for example "nominate this thread for knowledge base" -- if a configured threshold is reached (10 users nominated or something like that), it is linked to an article forum automatically. nice? i think so. no additional burden on moderators and admins, no conflicts regarding "golden" thread selection, true community-driven knowledge base.

bananalive, i admit that it's up to you to decide if this feature is worthy or not but at least i ask you to say what you think about it.

EagleNick
06-14-2009, 01:13 AM
This question has probably been answered, but is the "articles" forum listed on the forumhome just like the rest of the forums, but is actually a link to the articles section?

I'd like to make the article section its entire own area. Check my site and you will see how we have various tabs at the top: http://www.adminaddict.net
I'd like to make one entitled "Articles" and have this mod on that page, and to only be accessible from the tab - not displayed on the forumhome in the list of forums. Is this possible?

Thanks. Looks promising. ;)

smirkley
06-14-2009, 01:33 AM
I have mine setup forum and subforums(categories) as active forums but not listed in the forum home list. The only way in is through the articles link or bookmark. And they retain the articles 'look'.

EagleNick
06-14-2009, 02:37 AM
Thanks, Smirkley - I just tested it out and this is *amazing*.

I have another question: is there a way I can have the articles housed in its own directory (i.e. /articles) rather than /forum/articles.php? if possible, I'm assuming I'd have to edit the articles.php file or something?

Furthermore, depending on the answer to the above question, can the links be re-written if I have vBSEO?

Thanks.

RetroDreams
06-14-2009, 04:15 AM
I have mine setup forum and subforums(categories) as active forums but not listed in the forum home list. The only way in is through the articles link or bookmark. And they retain the articles 'look'.
Don't you mean you don't have them set as active? This way they are still accessible but not listed in the Forum list.

smirkley
06-14-2009, 10:29 AM
Don't you mean you don't have them set as active? This way they are still accessible but not listed in the Forum list.

Yes, my bad,... you are correct.

RWerksman
06-14-2009, 05:09 PM
I'd really love to see this work with The Image Resizer - https://vborg.vbsupport.ru/showthread.php?t=184571

Looking at the modification, it seems to be putting the correct JS and CSS into the article code. This mod doesn't seem to be parsing correctly when displaying the image - it's not creating the link around the image. :(

RetroDreams
06-14-2009, 06:00 PM
Yes, my bad,... you are correct.
No problem... this is also how I have mine setup and wanted to make sure it was accurate in case people have followed our lead.

EagleNick
06-14-2009, 06:03 PM
Thanks, Smirkley - I just tested it out and this is *amazing*.

I have another question: is there a way I can have the articles housed in its own directory (i.e. /articles) rather than /forum/articles.php? if possible, I'm assuming I'd have to edit the articles.php file or something?

Furthermore, depending on the answer to the above question, can the links be re-written if I have vBSEO?

Thanks.

Okay, I found some vBSEO-related posts within this thread and it doesn't look like it's easy to setup, so I won't worry about it.

So this is the only question I have for now: is there a way I can have the articles housed in its own directory (i.e. /articles) rather than /forum/articles.php? if possible, I'm assuming I'd have to edit the articles.php file or something?

Thanks!

MonCher
06-14-2009, 06:07 PM
vB Version 3.8.2

I'm really new to this, I tried to install but nothing happens when I try to open the page.
except I get this message:

404 - Not Found
The page you are trying to access does not exist.
If this error persists, please contact the website webmaster.
If you are the webmaster of this site make sure that:

You have uploaded correctly your files to the public_html directory which is the web-root of your account;
You have not misspelled the URL. Bear in mind that letters are case sensitive and no white spaces are recommended;
In case you have applied SEO - SEF URL rewriting rules, make sure you have re-named the htaccess.txt file to .htaccess. If there is already a non-empty .htaccess file read it and make sure the necessary rules are un-commented.

1) I uploaded the xml page and made a forum.
2). Tried to open the upload file but there's nothing inside... downloaded twice just in case)

Can someone help... Thanks in advance:confused:

Digital Jedi
06-14-2009, 10:59 PM
vB Version 3.8.2

I'm really new to this, I tried to install but nothing happens when I try to open the page.
except I get this message:

404 - Not Found
The page you are trying to access does not exist.
If this error persists, please contact the website webmaster.
If you are the webmaster of this site make sure that:

You have uploaded correctly your files to the public_html directory which is the web-root of your account;
You have not misspelled the URL. Bear in mind that letters are case sensitive and no white spaces are recommended;
In case you have applied SEO - SEF URL rewriting rules, make sure you have re-named the htaccess.txt file to .htaccess. If there is already a non-empty .htaccess file read it and make sure the necessary rules are un-commented.

1) I uploaded the xml page and made a forum.
2). Tried to open the upload file but there's nothing inside... downloaded twice just in case)

Can someone help... Thanks in advance:confused:

There's an articles.php file in the upload folder that goes in your forum root. The XML file is a product file that is imported thorugh the Product Manager of your Admin CP, not uploaded to the forum. Your getting a 404 error, becuase you've not uploaded the page yet, or because your navigating to the wrong page.

JacquiiDesigns
06-15-2009, 10:34 AM
Very nice share = Thanks!
Question: Do you accept donations to remove the footer credit?
Again - Thanks very much for sharing.

Jacquii.

EagleNick
06-15-2009, 01:33 PM
Question: Do you accept donations to remove the footer credit?

I was wondering the same thing. I was going to ask once my questions got answered and I got it up and running.

Let me know if you get an answer any way other than through this thread. ;)

bananalive
06-15-2009, 02:46 PM
Okay, I found some vBSEO-related posts within this thread and it doesn't look like it's easy to setup, so I won't worry about it.

So this is the only question I have for now: is there a way I can have the articles housed in its own directory (i.e. /articles) rather than /forum/articles.php? if possible, I'm assuming I'd have to edit the articles.php file or something?

Thanks!

You might be able to use vbseo to do that. Otherwise I'm not sure.

bananalive
06-15-2009, 02:49 PM
I'd really love to see this work with The Image Resizer - https://vborg.vbsupport.ru/showthread.php?t=184571

Looking at the modification, it seems to be putting the correct JS and CSS into the article code. This mod doesn't seem to be parsing correctly when displaying the image - it's not creating the link around the image. :(

This mod doesnt alter images so it shouldn't be problem. I'll install the image resizer in next few days and see what the problem is.

bananalive
06-15-2009, 02:51 PM
bananalive, i admit that it's up to you to decide if this feature is worthy or not but at least i ask you to say what you think about it.

It's not something i will implement immediately but I will look into in the next week and see how feasible and useful it is.

mariocaz
06-15-2009, 02:52 PM
I need this mod a lot, but I have 3.7.X , this mod is not compatible, right ???

Any other mod similar to this one that is compatible with 3.7.x ?

Thank you!!

bananalive
06-15-2009, 02:55 PM
Well...the only way I have found (to get the edit buttons back at the bottom) for this mod is to disable the Article postbit for this mod. However...doing this makes it look like a regular post...which is not what I want.

Which still doesn't help when trying to get these buttons back at the bottom of the article/thread.

I like the idea of the user info to the right of the article, but the Article Tools links which are placed underneath do not seem to look right...but, hey...that's just me. Same with the Article's rating.

Now...if I can get the user info to the right of the article and my buttons back at the bottom...I'll be a happy camper.

Any suggestions?
The buttons at the bottom of the thread should be displaying in v1.8. Revert the template.

The article tools beneath user info can be disable in vbulletin options

bananalive
06-15-2009, 02:56 PM
Has anyone discovered a way to get this integrated with VBA?
Article Forums Module for vBa CMPS (https://vborg.vbsupport.ru/showthread.php?t=215926)

RWerksman
06-15-2009, 04:10 PM
This mod doesnt alter images so it shouldn't be problem. I'll install the image resizer in next few days and see what the problem is.
Hooray! That would be fantastic if they did work together. :D

GhoHan
06-16-2009, 02:20 PM
I found some problem for this modification.

1. article poster Post Count not show / Option in ACP not working display / hidden postcount
2. check box for moving/deleted thread/article poster not available.
3. attachment thumbnail for unregister/guest can't view attachment thumbnail

I hope this problem can fix thanks before. this modification is good idea.

EagleNick
06-16-2009, 04:52 PM
How can I move the contents of the left sidebar to the right sidebar, so that the main (middle) column can be larger/wider?

Thanks.

joyboy2001
06-17-2009, 11:09 PM
working perfectly ... nice !!

Budweiser
06-19-2009, 02:41 AM
How can I move the contents of the left sidebar to the right sidebar, so that the main (middle) column can be larger/wider?

Thanks.

Yes. That would be nice...

asiaphoto
06-21-2009, 05:20 PM
Pardon my limited knowledge in PHP

how do modify articles.php so that it can function as a index.php file outside of my forum directory?

here's my problem in action

http://www.asiaphoto.com/forum/articles.php works

but

this doesn't work

http://www.asiaphoto.com/articles.php



i know i need to rewrite the paths in articles.php but i don't know which ones.


Dear Bananalive or other fellow coders, could you pls help me? thanks in advance.

bananalive
06-21-2009, 05:52 PM
Pardon my limited knowledge in PHP

how do modify articles.php so that it can function as a index.php file outside of my forum directory?

here's my problem in action

http://www.asiaphoto.com/forum/articles.php works

but

this doesn't work

http://www.asiaphoto.com/articles.php



i know i need to rewrite the paths in articles.php but i don't know which ones.


Dear Bananalive or other fellow coders, could you pls help me? thanks in advance.

Find in articles.php:
define('THIS_SCRIPT', 'articles');

After add:
$forumpath = '/home/site/public_html/forum';
chdir($forumpath);
altering $forumpath to the correct forum path

bananalive
06-21-2009, 05:55 PM
How can I move the contents of the left sidebar to the right sidebar, so that the main (middle) column can be larger/wider?

Thanks.

Open template: af_articles

find and delete:
<td nowrap="nowrap" style="vertical-align: top;">$a_left</td>
Find
<td nowrap="nowrap" style="vertical-align: top;">$a_right</td>
Replace with:
<td nowrap="nowrap" style="vertical-align: top;">$a_left $a_right </td>


Repeat for template: af_articles_alt

bananalive
06-21-2009, 06:01 PM
I found some problem for this modification.

1. article poster Post Count not show / Option in ACP not working display / hidden postcount
2. check box for moving/deleted thread/article poster not available.
3. attachment thumbnail for unregister/guest can't view attachment thumbnail

I hope this problem can fix thanks before. this modification is good idea.

Post Count refers to the #1 or #45 of post

Posts refers to the users posts in postbit

Not all postbit have if condition around the posts.

valendono
06-21-2009, 11:24 PM
Can I give u several suggestions or requests ?

1. How about if articles page with selected forum instead 1 forum category and child forum ?
2. Can we have archive of old news (page 2) with title only on bottom of articles.php instead just go to next page ?
3. If you can make `related news' in every articles thread, it should be great.
4. [Bugs ?] Some of comments now showing on page articles.php but showing 10 (real) on showthread.php
5. Showing top 5 mod/admin selected thread on header of articles.php
6. Thanks button on thread starter missing if you use mod vS-Hide Thanks

Thanks.. nice mod :)

asiaphoto
06-22-2009, 02:09 AM
Find in articles.php:
define('THIS_SCRIPT', 'articles');

After add:
$forumpath = '/home/site/public_html/forum';
chdir($forumpath);
altering $forumpath to the correct forum path


thanks Bananalive for helping me with this.

it works, but i encounter another problem


see
http://www.asiaphoto.com/forum/articles.php

and the index.php i'v improved with your help
http://www.asiaphoto.com/indextest.php


the parts not working
(1) forum logo is not showing now
(2) at the top left, instead of the folder icons,
it shows "Go Back" and "Reload this page"

(3) i appear not logged in on my index page
it looks like the registeration and logged in part won't work too.


(4) when i click on any links, i get error404 because the links are not reflecting the right path.

nohuhu
06-22-2009, 08:17 AM
bananalive,

any good news regarding my feature request? ;)

nohuhu
06-22-2009, 09:21 AM
bananalive,

one more feature request: i think it would be beneficial to have ability to use article postbit template instead of comment template for both first post and subsequent posts in a thread, selectible per thread. for example, on my board there are several knowledgeable users who prefer to post something useful in a closed thread (to avoid comments) in blog-like fashion, post after post. however such a thread is not a blog really, it's more like an article consisting of many parts, updated time after time. right now with this mod that would look like an article (first post) and several comments. if it would be possible to set some option upon article creation and use article postbit for all posts in that thread, that would be terrific.

p.s. and even more terrific would be an option to change default "posts per page" number. some articles tend to be very long... and that would solve the problem of article pagination, well of a sort.

Samsine
06-23-2009, 09:10 AM
Thanks for your great MOD :)



Regards
Samsine

Omar Al-Ansari
06-24-2009, 01:54 AM
thanks Bananalive for helping me with this.

it works, but i encounter another problem


see
http://www.asiaphoto.com/forum/articles.php

and the index.php i'v improved with your help
http://www.asiaphoto.com/indextest.php


the parts not working
(1) forum logo is not showing now
(2) at the top left, instead of the folder icons,
it shows "Go Back" and "Reload this page"

(3) i appear not logged in on my index page
it looks like the registeration and logged in part won't work too.


(4) when i click on any links, i get error404 because the links are not reflecting the right path.

I am facing the same issue here as well in terms of the links not working as its not pointing to the forum's folder.

Would appreciate the help :)

rEd86
06-24-2009, 10:18 AM
The problem is the URL in the templates is relative, and since you've moved the articles.php to your root, the showthread.php file is not in the same folder. You need to add a fully qualified path to your forums folder, which will make all the links on the articles.php page fully qualified. The vBulletin variable that holds that path is $vbulletin->options['bburl'].

You need to replace all instances of:

<a href="showthread.php

with:

<a href="'.$vbulletin->options['bburl'].'/showthread.php

in the Article installation file and reinstall it. Or you can go in and manually update that text in all these templates:
af_articlebit
af_articlesmallbit
af_threadbit
postbit_display_complete

You need to update your branding as well to reflect the full path to your images. The same rules should apply to all instances of:

<img src="images

since that too is a relative path.

--Ed

Omar Al-Ansari
06-24-2009, 12:28 PM
The problem is the URL in the templates is relative, and since you've moved the articles.php to your root, the showthread.php file is not in the same folder. You need to add a fully qualified path to your forums folder, which will make all the links on the articles.php page fully qualified. The vBulletin variable that holds that path is $vbulletin->options['bburl'].

You need to replace all instances of:

<a href="showthread.php

with:

<a href="'.$vbulletin->options['bburl'].'/showthread.php

in the Article installation file and reinstall it. Or you can go in and manually update that text in all these templates:
af_articlebit
af_articlesmallbit
af_threadbit
postbit_display_complete

You need to update your branding as well to reflect the full path to your images. The same rules should apply to all instances of:

<img src="images

since that too is a relative path.

--Ed

Thanks rEd86 for your reply

I tried doing that but the issue is the link I am getting is wrong

http://www.xxxx.com/'.Array['bburl'].'/showthread.php?t=2

Any ideas?

rEd86
06-24-2009, 12:48 PM
Thanks rEd86 for your reply

I tried doing that but the issue is the link I am getting is wrong

http://www.xxxx.com/'.Array['bburl'].'/showthread.php?t=2

Any ideas?

Is this what's being delivered to the browser or what's in the PHP file on the server? If it's what's in the PHP file, what URLs are being delivered to the browser?

I am just starting to program vBulletin so my experience with it is limited so there might be an obvious answer that I am not aware of...

What version of vBulletin are you using? Since I am new to the community I am using the latest.

--Ed

Omar Al-Ansari
06-24-2009, 01:04 PM
Is this what's being delivered to the browser or what's in the PHP file on the server? If it's what's in the PHP file, what URLs are being delivered to the browser?

I am just starting to program vBulletin so my experience with it is limited so there might be an obvious answer that I am not aware of...

What version of vBulletin are you using? Since I am new to the community I am using the latest.

--Ed

This is what is being delivered to the browser

I am using the latest version as well 3.8.3. I have just installed vbulletin two days back :)

rEd86
06-24-2009, 01:23 PM
It would appear that your array isn't being populated properly when the file is in the root. A quick fix is to hard code the path to your forums folder instead of using the bburl variable.

Maybe Princeton or one of the more experienced developers knows why it's not initializing everything properly. (or knows the real reason it's not working)

--Ed

Dunhamzzz
06-24-2009, 01:26 PM
Now I don't know how possible or not this is but let me know if you can do it.

Basically when I setup the "guides" section using this mod, I had to take various threads from various categories and put them all into sub cats of my "article" forum. I then hid that original article forum from view(so that it still looks like all content for a certain category is in that category). I then added forum links to the different article forum sub-categories in the main categories.

See what I mean by going to http://www.mydellmini.com/forum , notice the forum links "Dell Mini 9 Guides" which links to the hidden article forum.

One thing that has now happened is that because the guides have been moved out of the original parent category they're not getting as much coverage at all (they don't appear in the overall category view for one thing ).

tldr;
Can we have multiple "article forums" so there is no need to move everything into one category. They could all show on the main page as it currently does, its just I don't want to have to move all the sub categories/threads out of their original top-level category

nohuhu
06-24-2009, 03:43 PM
Dunhamzzz, pls read my feature request a couple pages ago, do you think it makes sense for you? if so we can petition bananalive twice as hard for it. :)

Omar Al-Ansari
06-24-2009, 04:29 PM
It would appear that your array isn't being populated properly when the file is in the root. A quick fix is to hard code the path to your forums folder instead of using the bburl variable.

Maybe Princeton or one of the more experienced developers knows why it's not initializing everything properly. (or knows the real reason it's not working)

--Ed

Ok .. I got all the links working properly manually .. almost :)

Changes to be done to the following templates

af_articlebit
af_articlesmallbit
af_authorsmallbit
af_catbit
af_left
af_left_alt
af_letter
af_right
af_right_alt

Search for:

<a href="

Replace by:

<a href="$vboptions[bburl]/

Now all links are working properly except for the buttons which are highlighted in the attached file.

Would appreciate the help

skooby
06-24-2009, 09:10 PM
Hey guys,
I want the thumbnails on the page to be larger but can't figure it out. They aren't attached (the script is finding the image and posting it as a thumbnail). I tried to increase the attached thumbnail size to 200 anyway (even though these arent attachments), and went to maintenance and rebuilt the attachment thumbnails, but the images still show up the same size? It keeps scaling to 100 x 75 px. I'm running vBulletin 3.8.1

Thanks for the mod, it's GREAT!

dfc005
06-25-2009, 04:00 AM
Would love to see the Most Read Articles and Most Commented Articles sections be in a certain time frame and not set by all time.

For instance would love the option to have the Most Read and Most Commented on to be just for the last week so it would still be topical and would show the current hot articles etc.

bananalive
06-25-2009, 03:21 PM
Would love to see the Most Read Articles and Most Commented Articles sections be in a certain time frame and not set by all time.

For instance would love the option to have the Most Read and Most Commented on to be just for the last week so it would still be topical and would show the current hot articles etc.

This data is not stored by vbulletin

bananalive
06-25-2009, 03:23 PM
Hey guys,
I want the thumbnails on the page to be larger but can't figure it out. They aren't attached (the script is finding the image and posting it as a thumbnail). I tried to increase the attached thumbnail size to 200 anyway (even though these arent attachments), and went to maintenance and rebuilt the attachment thumbnails, but the images still show up the same size? It keeps scaling to 100 x 75 px. I'm running vBulletin 3.8.1

Thanks for the mod, it's GREAT!

template af_articlebit
max-width: 100px; max-height: 100px;

chnage it for the div and the img tags

bananalive
06-25-2009, 03:25 PM
Ok .. I got all the links working properly manually .. almost :)

Changes to be done to the following templates

af_articlebit
af_articlesmallbit
af_authorsmallbit
af_catbit
af_left
af_left_alt
af_letter
af_right
af_right_alt

Search for:

<a href="

Replace by:

<a href="$vboptions[bburl]/

Now all links are working properly except for the buttons which are highlighted in the attached file.

Would appreciate the help

In templates: af_left and af_left_alt

<form action="search.php

bananalive
06-25-2009, 03:26 PM
Thanks rEd86 for your reply

I tried doing that but the issue is the link I am getting is wrong

http://www.xxxx.com/'.Array['bburl'].'/showthread.php?t=2

Any ideas?

put curly brackets around the php variable like {$vbulletin->options[bburl]}

skooby
06-25-2009, 03:34 PM
template af_articlebit
max-width: 100px; max-height: 100px;

chnage it for the div and the img tags

Thank you very much! :)

Sorry for all the questions, but is there a way to have a forced resolution so no matter the dimensions of the picture, it forces the preview thumbnail to that size? If you look at my attachment you will see that the articles are all un-aligned, and I would like them to align if possible.

Many thanks again.

Omar Al-Ansari
06-25-2009, 05:48 PM
put curly brackets around the php variable like {$vbulletin->options[bburl]}

Thanks bananalive

that was very helpful however now because of me using the articles.php as the index in the root folder i am not able to properly use the navigation bar. The interactive dropdown lists are not working as well as the links.

Is there an easy go around this

you can see the difference in the attached pictures of both one of them is in the root and the other in the forms folder

help is appreciated:)

bananalive
06-25-2009, 06:51 PM
Thank you very much! :)

Sorry for all the questions, but is there a way to have a forced resolution so no matter the dimensions of the picture, it forces the preview thumbnail to that size? If you look at my attachment you will see that the articles are all un-aligned, and I would like them to align if possible.

Many thanks again.

Vbulletin options -> Article Forum Options -> Fixed Thumbnail Width -> Yes

bananalive
06-25-2009, 06:55 PM
Thanks bananalive

that was very helpful however now because of me using the articles.php as the index in the root folder i am not able to properly use the navigation bar. The interactive dropdown lists are not working as well as the links.

Is there an easy go around this

you can see the difference in the attached pictures of both one of them is in the root and the other in the forms folder

help is appreciated:)

View page source and look for line this this:

<script type="text/javascript" src="clientscript/vbulletin_menu.js?v=382"></script>

this is the javascript file for drop down menus. check it is pointing to the correct location.

skooby
06-25-2009, 08:37 PM
Thanks for the quick response. When I change the option to make the thumbnails all fixed though, it cuts off the images (since I've made the images 200 x 200 instead of 100 x 100 in the template fix you gave me).

Is there anyway to have it so I can make the images a bit larger, and also have them align without cutting off the image? Sorry for my lack of PHP and thanks again for the help.

See attached for a screen shot. 01 is with the fixed width off, and 02 is with the fixed width on.

Thanks!

Omar Al-Ansari
06-25-2009, 09:31 PM
View page source and look for line this this:

<script type="text/javascript" src="clientscript/vbulletin_menu.js?v=382"></script>

this is the javascript file for drop down menus. check it is pointing to the correct location.

Thanks bananlive

in navbar I had to add

$vboptions[bburl]/

before

clientscript/vbulletin_menu.js

and the rest of the .js files

clientscript/vbulletin_global.js
connection-min.js
yahoo-dom-event.js

dfc005
06-25-2009, 09:41 PM
This data is not stored by vbulletin

True, but then vB doesn't allow Article Forums by default either. Thought it might be something you could include. I don't think I'd be the only one who would use it.

valendono
06-26-2009, 03:55 AM
any issue if it doesn't work with vs-hide thanks button ? because I got this issue

bananalive
06-26-2009, 09:55 AM
Thanks for the quick response. When I change the option to make the thumbnails all fixed though, it cuts off the images (since I've made the images 200 x 200 instead of 100 x 100 in the template fix you gave me).

Is there anyway to have it so I can make the images a bit larger, and also have them align without cutting off the image? Sorry for my lack of PHP and thanks again for the help.

See attached for a screen shot. 01 is with the fixed width off, and 02 is with the fixed width on.

Thanks!

Open articles.php

Find

$thumbdivstyle = "text-align: center; width: ".$vbulletin->options['attachthumbssize']."px;";

Replace

$thumbdivstyle = "text-align: center; width: 120px;";

bananalive
06-26-2009, 10:00 AM
Thanks bananlive

in navbar I had to add

$vboptions[bburl]/

before

clientscript/vbulletin_menu.js

and the rest of the .js files

clientscript/vbulletin_global.js
connection-min.js
yahoo-dom-event.js

If you view page source is the $vboptions[bburl] being parsed properly into your vbulletin url? If it is then it should be working fine.

Magz
06-26-2009, 10:16 AM
Hi,

Installed and working a treat on my site, however, ive just tried to add a new forum to my site, and am getting this database error.

MySQL Error : Unknown column 'articleforum' in 'field list'

Ive tried editing other forums, and get the same database error message.

Any ideas

bananalive
06-26-2009, 10:25 AM
Hi,

Installed and working a treat on my site, however, ive just tried to add a new forum to my site, and am getting this database error.

MySQL Error : Unknown column 'articleforum' in 'field list'

Ive tried editing other forums, and get the same database error message.

Any ideas

From what you describe the disabled plugins in the mod have been enabled.

Import attached file

Magz
06-26-2009, 10:48 AM
Thanks, that indeed sorted it.

skooby
06-26-2009, 11:23 AM
Open articles.php

Find

$thumbdivstyle = "text-align: center; width: ".$vbulletin->options['attachthumbssize']."px;";

Replace

$thumbdivstyle = "text-align: center; width: 120px;";


Thanks for the response. This seems to work in both Firefox and IE, but only Firefox is it showing the increased thumbnail size, not IE (using IE 8). The first attachment is Firefox, the second is IE.

Also, in the CMPS (I posted this in the other thread but not sure if you are checking), the CMPS is only showing 25 words even though I made the changes to show 200 words (even went as high as 1000). It takes affect in articles.php, but not in CMPS. This is happening in both browsers. Also tried to go to "edit module" and make the switch there, but same thing.

Thanks again.. I owe you a beer.

nohuhu
06-26-2009, 07:34 PM
bananalive,

any news regarding my feature requests? sorry for bugging you but i really think these would be very beneficial and also i'd like to know what you think about them. :)

Budweiser
06-27-2009, 03:29 AM
I have a suggestion on the layout of the articles themselves.

On the right under the posters name how about having an invisible border so that space directly beneath can be used for advertising space.

Any way to integrate a word wrap around the photo's too?

Thnx, Kev

PS: Bananalive has got to be overwhelmed with all of the requests and suggestions... :eek:

smirkley
06-27-2009, 05:15 AM
No requests,...

just a simple thanks.

Omar Al-Ansari
06-27-2009, 09:59 AM
Hi,

I am back again :)

just a quick question .. is there a way to show the categories list in a dropdown menu rather than how it is showing now?

thanks again

Bounce
06-27-2009, 05:28 PM
Hi,

nice mod, any way to change the "article" wording to your own custom one?

thanks

Omar Al-Ansari
06-28-2009, 12:33 PM
Hello,

Ok so I have no experience in coding and I have copied a code that posts threads in to a specific forum and played with it to use it as a forum jump dropdown menu.

Now the only issue I am facing is to get it showing for unregistered users. I would appreciate the help if someone could explain it to me and remove anything that is not needed in it


<form action="{$vbulletin->options[bburl]}/forumdisplay.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="showforum" />
<div style="width: 100px; height: 1px; padding: 0px; margin: 0px;"></div>
<div align="right" style="padding:$stylevar[cellpadding]px 0px $stylevar[cellpadding]px 0px;"><fieldset class="fieldset">
<legend>$vbphrase[go]</legend>
<div style="padding: 0px 0px $stylevar[cellpadding]px 0px;">
<div><label for="sel_f">$vbphrase[category]</label></div>
<select name="f" id="sel_f">
$f_options
</select></div>
<div style="text-align:center;"><input type="submit" class="button" value="$vbphrase[go]" /></div>

</fieldset></div>
</form>


Regards,
:)

Omar Al-Ansari
06-28-2009, 02:44 PM
Hello,

Ok so I have no experience in coding and I have copied a code that posts threads in to a specific forum and played with it to use it as a forum jump dropdown menu.

Now the only issue I am facing is to get it showing for unregistered users. I would appreciate the help if someone could explain it to me and remove anything that is not needed in it


<form action="{$vbulletin->options[bburl]}/forumdisplay.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="showforum" />
<div style="width: 100px; height: 1px; padding: 0px; margin: 0px;"></div>
<div align="right" style="padding:$stylevar[cellpadding]px 0px $stylevar[cellpadding]px 0px;"><fieldset class="fieldset">
<legend>$vbphrase[go]</legend>
<div style="padding: 0px 0px $stylevar[cellpadding]px 0px;">
<div><label for="sel_f">$vbphrase[category]</label></div>
<select name="f" id="sel_f">
$f_options
</select></div>
<div style="text-align:center;"><input type="submit" class="button" value="$vbphrase[go]" /></div>

</fieldset></div>
</form>


Regards,
:)

That would be nice or at least to show only the forum and if you click on it

you go to the forum and it shows the sub-forums

Example

- Articles forum
- - Computers
- - Internet
- - Cellphones
- - - Nokia
- - - Samsung
- - - iPhones

When you are in the "Articles Forum" you can only see

- - Computers
- - Internet
- - Cellphones

Then you click on "Cellphones" you would only see

- - - Nokia
- - - Samsung
- - - iPhones

That would be very nice :)

snoopy5
06-28-2009, 05:10 PM
Hi

could you please post in the description of your mod, what you did change with the latest release in June and why?

Is it necessary to upgrade?

bananalive
06-28-2009, 05:38 PM
Thanks for the response. This seems to work in both Firefox and IE, but only Firefox is it showing the increased thumbnail size, not IE (using IE 8). The first attachment is Firefox, the second is IE.

Also, in the CMPS (I posted this in the other thread but not sure if you are checking), the CMPS is only showing 25 words even though I made the changes to show 200 words (even went as high as 1000). It takes affect in articles.php, but not in CMPS. This is happening in both browsers. Also tried to go to "edit module" and make the switch there, but same thing.

Thanks again.. I owe you a beer.

In the same template: af_articlebit
Find
width: expression(this.width > 100 ? 100: true);
Replace with
width: expression(this.width > 120 ? 120: true);

I had a quick look into the word limit in cmps but couldn't work out why it wasn't working, i'll have to have another look.

bananalive
06-28-2009, 05:40 PM
bananalive,

any news regarding my feature requests? sorry for bugging you but i really think these would be very beneficial and also i'd like to know what you think about them. :)

I think what you are requesting is a different modification really.

bananalive
06-28-2009, 05:42 PM
I have a suggestion on the layout of the articles themselves.

On the right under the posters name how about having an invisible border so that space directly beneath can be used for advertising space.

Any way to integrate a word wrap around the photo's too?

Thnx, Kev

PS: Bananalive has got to be overwhelmed with all of the requests and suggestions... :eek:

You could use custom bbcode to do image/text wrap.

Edit template af_firstpost to add advertising space.

bananalive
06-28-2009, 05:43 PM
Hi,

I am back again :)

just a quick question .. is there a way to show the categories list in a dropdown menu rather than how it is showing now?

thanks again

No :eek:

bananalive
06-28-2009, 05:45 PM
Hi,

nice mod, any way to change the "article" wording to your own custom one?

thanks

Yes, use the AdminCP phrase manager to change the phrases which contain articles

bananalive
06-28-2009, 05:46 PM
Hello,

Ok so I have no experience in coding and I have copied a code that posts threads in to a specific forum and played with it to use it as a forum jump dropdown menu.

Now the only issue I am facing is to get it showing for unregistered users. I would appreciate the help if someone could explain it to me and remove anything that is not needed in it


<form action="{$vbulletin->options[bburl]}/forumdisplay.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="showforum" />
<div style="width: 100px; height: 1px; padding: 0px; margin: 0px;"></div>
<div align="right" style="padding:$stylevar[cellpadding]px 0px $stylevar[cellpadding]px 0px;"><fieldset class="fieldset">
<legend>$vbphrase[go]</legend>
<div style="padding: 0px 0px $stylevar[cellpadding]px 0px;">
<div><label for="sel_f">$vbphrase[category]</label></div>
<select name="f" id="sel_f">
$f_options
</select></div>
<div style="text-align:center;"><input type="submit" class="button" value="$vbphrase[go]" /></div>

</fieldset></div>
</form>


Regards,
:)

It will display for those with permission to post. so check their usergroup forum permission to post new threads in article forum.

bananalive
06-28-2009, 05:47 PM
Hi

could you please post in the description of your mod, what you did change with the latest release in June and why?

Is it necessary to upgrade?

In the first post at the top there is a link to the version history.

If you are happy with your current version then there is no need to upgrade.

Omar Al-Ansari
06-28-2009, 05:56 PM
It will display for those with permission to post. so check their usergroup forum permission to post new threads in article forum.

Is there a way to have them to use this code to jump from one forum to another?

I wouldn't like to have unregistered users able to post in the Article.

sorry I am just trying to figure something out to sort this thing as I am using the Mod to be the main forum which could have over 50 forums and subforums and it does not look good with the list being that long. I have plans to extend this list to be a lot more than that number of forums.

:o

bananalive
06-29-2009, 07:46 AM
Is there a way to have them to use this code to jump from one forum to another?

I wouldn't like to have unregistered users able to post in the Article.

sorry I am just trying to figure something out to sort this thing as I am using the Mod to be the main forum which could have over 50 forums and subforums and it does not look good with the list being that long. I have plans to extend this list to be a lot more than that number of forums.

:o

You'll need to edit template: af_catbit making each category an <option> and then use your above code.

Omar Al-Ansari
06-29-2009, 09:30 AM
You'll need to edit template: af_catbit making each category an <option> and then use your above code.

an example of the <option> would be great :D

examples for dummies :D

skooby
06-29-2009, 02:33 PM
In the same template: af_articlebit
Find
width: expression(this.width > 100 ? 100: true);
Replace with
width: expression(this.width > 120 ? 120: true);

I had a quick look into the word limit in cmps but couldn't work out why it wasn't working, i'll have to have another look.

Thank You! I'm still having the CMPS issue but everything else is working wonderfully!

Merjawy
06-29-2009, 09:05 PM
I too having problems with size of preview.. If I set it to 0 the it will post all of it without attachment. any other numbers (1- / 1 to 100000) will only show around 25 words or so with attachment..

Also, enabling BBCode option makes the page go all over the place

I know you'll have to click the article title to read more.. can you add [Read Mode] to it please?

Thanks

rabidkevin
07-01-2009, 06:41 PM
I am getting a javascript error when I view an article. This doesn't happen on any other page of my forum or vb advanced or the 5 other major addons I have.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Wed, 1 Jul 2009 19:41:04 UTC

Message: 'this.controlobj' is null or not an object
Line: 11
Char: 1384
Code: 0
URI: http://www.eternalbeats.net/forums/clientscript/vbulletin_menu.js?v=382

urdu
07-01-2009, 11:42 PM
I too having problems with size of preview.. If I set it to 0 the it will post all of it without attachment. any other numbers (1- / 1 to 100000) will only show around 25 words or so with attachment..

Also, enabling BBCode option makes the page go all over the place

I know you'll have to click the article title to read more.. can you add [Read Mode] to it please?


Thanks

same here !

CLSSY56
07-02-2009, 04:21 PM
This works great.

Is there a way to get a thread building template so there is a standard on how every article looks?

How can you change the post originator information to go across the top instead of down the right side? There is a text wrap there and looks funny if you center a few pics to start off the thread.

skooby
07-03-2009, 04:01 AM
2 Questions:

1) Is it possible to have all of the images that are grabbed from the post and displayed in the articles.php file to be the same size. Basically, no matter the dimensions, it will resize all the images to the same size, say 200 x 200, so that they all align correctly?

2) A little off topic, but I LOVE your postbit. Is there anyway I could apply this postbit to another forum on my board, as well as the forum I use with the articles.php?

Thanks again :)

bananalive
07-03-2009, 11:10 AM
an example of the <option> would be great :D

examples for dummies :D

<option value="$forumid">$spacing <if condition="$vbulletin->options[af_altdisplay]">$symbol</if> $foruminfo[title_clean]</option

bananalive
07-03-2009, 11:22 AM
I too having problems with size of preview.. If I set it to 0 the it will post all of it without attachment. any other numbers (1- / 1 to 100000) will only show around 25 words or so with attachment..

Also, enabling BBCode option makes the page go all over the place

I know you'll have to click the article title to read more.. can you add [Read Mode] to it please?


Thanks

vBulletin might limit the preview length above a certain number.

The bbcode option was requested - for some it is useful but for most it is not.

Edit template af_articlebit and add text/link after $thread[preview]

bananalive
07-03-2009, 11:23 AM
I am getting a javascript error when I view an article. This doesn't happen on any other page of my forum or vb advanced or the 5 other major addons I have.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Wed, 1 Jul 2009 19:41:04 UTC

Message: 'this.controlobj' is null or not an object
Line: 11
Char: 1384
Code: 0
URI: http://www.eternalbeats.net/forums/clientscript/vbulletin_menu.js?v=382

What did you click to get this javascript error?

bananalive
07-03-2009, 11:24 AM
This works great.

Is there a way to get a thread building template so there is a standard on how every article looks?

How can you change the post originator information to go across the top instead of down the right side? There is a text wrap there and looks funny if you center a few pics to start off the thread.

No.

Edit template: af_firstpost

The bit on the right is the userinfo and is between the following tags

<!-- user info -->
<!-- / user info -->

bananalive
07-03-2009, 11:27 AM
2 Questions:

1) Is it possible to have all of the images that are grabbed from the post and displayed in the articles.php file to be the same size. Basically, no matter the dimensions, it will resize all the images to the same size, say 200 x 200, so that they all align correctly?

2) A little off topic, but I LOVE your postbit. Is there anyway I could apply this postbit to another forum on my board, as well as the forum I use with the articles.php?

Thanks again :)

Not really. Try enabling Fixed Thumbnail Width in Vbulletin Options -> Article forum Options

Not that i am aware of. You could try searching for another modification which alters postbit template per forum and then use the template af_firstpost.

valendono
07-04-2009, 03:25 PM
@banana
its not work with vs-hide thanks button. :( can u help me ? thanks

rabidkevin
07-07-2009, 04:17 PM
What did you click to get this javascript error?

on any article page aka showthread

the main article page doesn't have this javascript error.

it also appears to only happen to users who are logged in. no error when logged out.

nohuhu
07-07-2009, 04:21 PM
bananalive,

russian translation for your mod, updated to 1.8.

smirkley
07-07-2009, 11:08 PM
on any article page aka showthread

the main article page doesn't have this javascript error.

it also appears to only happen to users who are logged in. no error when logged out.


I get it too...

My js error statement is:

Line: 12
Char: 1384
Error: 'this.controlobj' is null or not an object
Code: 0
URL: (the literal url of the article being viewed on my site)


I havent been able to isolate it to any other mod conflict,...yet

framer
07-08-2009, 11:27 AM
on any article page aka showthread

the main article page doesn't have this javascript error.

it also appears to only happen to users who are logged in. no error when logged out.

That's the same problem here, It's the one thing keeping from taking this live on my board. I've been playing with it for a week. I had not noticed the above until I just tried it and it's the same as above. Could be a clue. Will look again later today.

framer

I have not read this whole thread yet but is there a prefered skin to use?

framer

vitrag24
07-08-2009, 06:21 PM
want this for vb 3.7.1

Saviour
07-09-2009, 09:22 AM
Pagination shows up within table...

Is there a way to have this show up outside the table and to the right, as it does in regular forums?

See attached image. The page numbers are within the gray table and need to be moved outside this area and to the right, as in regular forums.

framer
07-09-2009, 01:45 PM
That's the same problem here, It's the one thing keeping from taking this live on my board. I've been playing with it for a week. I had not noticed the above until I just tried it and it's the same as above. Could be a clue. Will look again later today.

framer

I have not read this whole thread yet but is there a prefered skin to use?

framer

I should have left more info, sorry. viewing withie8 browser Vista & ie7 brower XP. Both show an error only when someone's logged in but no error when not logged in?

framer

a9eel
07-09-2009, 09:49 PM
thx

framer
07-09-2009, 10:54 PM
Just tried Firefox 3.5 and it shows NO errors.

framer

Saviour
07-11-2009, 12:29 AM
Anyone? https://vborg.vbsupport.ru/showpost.php?p=1845658&postcount=647

smirkley
07-11-2009, 05:48 PM
I get it too...

I havent been able to isolate it to any other mod conflict,...yet

I did a once over analysis again and I cannot get the script error to extinguish.
I dont think it is a mod conflict, but I look at the demo for this mod and dont see the error.

So I dunno what is going on unless it is just a difference of settings or something. :confused:

bananalive
07-12-2009, 11:04 AM
I did a once over analysis again and I cannot get the script error to extinguish.
I dont think it is a mod conflict, but I look at the demo for this mod and dont see the error.

So I dunno what is going on unless it is just a difference of settings or something. :confused:

I'm not sure what is causing the error, I think it might be due to the different postbit meaning there might not be an object with correct id for javascript. But this is just a guess and i have yet to find source of error.

bananalive
07-12-2009, 11:12 AM
Pagination shows up within table...

Is there a way to have this show up outside the table and to the right, as it does in regular forums?

See attached image. The page numbers are within the gray table and need to be moved outside this area and to the right, as in regular forums.

Find and delete in template af_center:
$pagenav

Add $pagenav in template af_articles after:
</td>
</tr>
</table>

Or you could try the alternative display (https://vborg.vbsupport.ru/attachment.php?attachmentid=99145&d=1242301219).

bananalive
07-12-2009, 11:14 AM
@banana
its not work with vs-hide thanks button. :( can u help me ? thanks

What is not working?

maidos
07-12-2009, 11:43 AM
on forumdisplay.php when i try to click the forum section that i assigned to be article as it said
page not found

Saviour
07-12-2009, 12:44 PM
Find and delete in template af_center:
$pagenav

Add $pagenav in template af_articles after:
</td>
</tr>
</table>

Or you could try the alternative display (https://vborg.vbsupport.ru/attachment.php?attachmentid=99145&d=1242301219).


I just tried to use the alternate display setting...and now my articles.php page is screwed...

Tried setting it back and it's still screwed. See the following page: http://glitchpc.com/forums/articles.php or the attached image. I have two navbars now...

Anyway to get this fixed, now?

Also...the right column is not showing up on the articles.php page. Only module unchecked in Admin CP is Most Commented Articles. If I check it, then the right column shows up.

The new thread buttons are missing, as well...along with a lot of my buttons at the end of any of the posted articles.

I have reverted templates, uninstalled/re-installed...I still have the same issues. Can I get a little advice, please?


Thanks, in advance...

Saviour
07-12-2009, 11:12 PM
Last, but certainly not least...

Is there any way to disable all the "quote" buttons from the first post (only) within the article forum? I'd like comments/replies to have the ability to quote...but not the first post of the thread/article.

smirkley
07-13-2009, 05:31 AM
I'm not sure what is causing the error, I think it might be due to the different postbit meaning there might not be an object with correct id for javascript. But this is just a guess and i have yet to find source of error.


I just finished extensive testing on my setup, and with all mods disabled except this one, and on a vB default style, and checking most of the combinations of settings for the articles mod,...

It still shows up on every showthread page in the articles.

Tomorrow I can try a comple uninstall/reinstall, but at this point, I cant find any sense of it.

smirkley
07-13-2009, 08:24 AM
Just tested on a very basic vb install.

specs:

vB3.8.2
vB Blog
vB Project Tools
vB Advanced
Articles
Stock OEM vB style
Viewed with IE6 and 8 while logged in (my live board uses legacy postbit, and my test board used regular postbit)

Made one post in a category, using the fieldset version of article display, and error is produced on first try.

I know it isnt caused by PT, Blog, or VBA, as I can disable them and run it on a basic stock vB3.8.2

Trying to help narrow it down, but I cant set it on any more a basic install than that.

valdet
07-13-2009, 10:20 AM
I've looking through af_catbit template to make the top forums always bold, but I couldn't make it with any type of conditional.

See pic for further explanation.

https://vborg.vbsupport.ru/


Maybe a better display would be if you can make it to be displayed as a tree navigation menu similar to this hack. https://vborg.vbsupport.ru/showthread.php?t=127536

hugh_
07-13-2009, 11:47 AM
When I drill down into 2 or the 3 sub-categories I've created I see article titles the other sub-categories listed... What's wrong?

hugh_
07-13-2009, 09:54 PM
Never mind I moved the post to the wrong directory...

vgevolution
07-13-2009, 09:57 PM
I'm a bit disturbed that I can't have different styles applied to categories (forums). I can set the style in the forum's settings, and even set it to override the user's settings, but the article listing display's are still my main theme for articles.php. Is it even possible for articles.php to use the style of the category that I click on when viewing the article listing?

Saviour
07-14-2009, 02:33 PM
Bump! https://vborg.vbsupport.ru/showpost.php?p=1847438&postcount=657

Also...Bump! https://vborg.vbsupport.ru/showpost.php?p=1847743&postcount=658

smirkley
07-16-2009, 01:46 AM
Can I ask,.... has the original 1.8 pack been updated since I downloaded it possibly, causing my install attempts to give the error and the demo to not give the error?

I am running out of reasons why this happens, and looking to find resolution as this is a good mod.

Saviour
07-16-2009, 12:30 PM
No offense, bananalive...

Where's the support for this mod? It's been three days since my support request...and I haven't received an answer...or a suggestion, for that matter. I even donated to remove branding, but am not getting any help, whatsoever.

bananalive
07-16-2009, 07:54 PM
I just tried to use the alternate display setting...and now my articles.php page is screwed...

Tried setting it back and it's still screwed. See the following page: http://glitchpc.com/forums/articles.php or the attached image. I have two navbars now...

Anyway to get this fixed, now?

Also...the right column is not showing up on the articles.php page. Only module unchecked in Admin CP is Most Commented Articles. If I check it, then the right column shows up.

The new thread buttons are missing, as well...along with a lot of my buttons at the end of any of the posted articles.

I have reverted templates, uninstalled/re-installed...I still have the same issues. Can I get a little advice, please?


Thanks, in advance...

Try attached file

bananalive
07-16-2009, 07:56 PM
Last, but certainly not least...

Is there any way to disable all the "quote" buttons from the first post (only) within the article forum? I'd like comments/replies to have the ability to quote...but not the first post of the thread/article.

Edit template: af_firstpost

Remove:
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>

bananalive
07-16-2009, 08:01 PM
I've looking through af_catbit template to make the top forums always bold, but I couldn't make it with any type of conditional.

See pic for further explanation.

http://img17.imageshack.us/img17/7662/catscyz.jpg


Maybe a better display would be if you can make it to be displayed as a tree navigation menu similar to this hack. https://vborg.vbsupport.ru/showthread.php?t=127536

Use
<if condition="$depth == 0"><b></if>

bananalive
07-16-2009, 08:12 PM
I'm a bit disturbed that I can't have different styles applied to categories (forums). I can set the style in the forum's settings, and even set it to override the user's settings, but the article listing display's are still my main theme for articles.php. Is it even possible for articles.php to use the style of the category that I click on when viewing the article listing?

It does not affect the user's style.

I will look into articles.php adopting forced user style.

bananalive
07-16-2009, 08:27 PM
Can I ask,.... has the original 1.8 pack been updated since I downloaded it possibly, causing my install attempts to give the error and the demo to not give the error?

I am running out of reasons why this happens, and looking to find resolution as this is a good mod.

I do not think so.

Saviour
07-16-2009, 08:31 PM
Try attached file

Sorry...I uploaded the new file and still have two navbars, as well as two Google Ads.

Saviour
07-16-2009, 08:44 PM
Edit template: af_firstpost

Remove:
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>

Thank you...worked like a charm.

bananalive
07-17-2009, 09:08 AM
Sorry...I uploaded the new file and still have two navbars, as well as two Google Ads.

Check template: shell_blank for two instances of $navbar

Try uploading attached file

Saviour
07-17-2009, 10:49 AM
Check template: shell_blank for two instances of $navbar

Try uploading attached file

There are not two instances of $navbar in the shell_blank template. I also tried the attached file, overwriting the one currently on the server.

Still...same issue.

bananalive
07-17-2009, 03:49 PM
There are not two instances of $navbar in the shell_blank template. I also tried the attached file, overwriting the one currently on the server.

Still...same issue.

Try importing/uploading attached files

Was there anything else you changed apart from switching to alternative display?

Saviour
07-17-2009, 04:12 PM
Try importing/uploading attached files

Was there anything else you changed apart from switching to alternative display?

I will try the new files.

Everything was working fine until you directed me to try the alternate display. As soon as I made that selection and saved the settings...I had two navbars and two Google Ads. It has been that way, ever since. Nothing I have tried has worked.

Will keep you posted...

Saviour
07-17-2009, 04:18 PM
Update...

The latest two files seemed to have fixed the problem. Thanks for taking the time to fix this for me.

cbiweb
07-17-2009, 05:25 PM
What would cause the article and the comments to change places? When I post an article, it looks perfect, as expected. As soon as someone comments, the comment is now in the article's place, and the article is down with other comments. ?????

bananalive
07-17-2009, 06:52 PM
What would cause the article and the comments to change places? When I post an article, it looks perfect, as expected. As soon as someone comments, the comment is now in the article's place, and the article is down with other comments. ?????

I'm not sure... check the times of the posts. Also have you enabled newest posts first for threads?

bposner
07-17-2009, 07:19 PM
Nice addition. I installed this and was wondering if there is a layout format or setting to give the article a more magazine look, maybe columns, text wrap around images. etc.

Thanks!

smirkley
07-18-2009, 02:27 AM
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
Timestamp: Sat, 18 Jul 2009 03:24:19 UTC


Message: 'this.controlobj' is null or not an object
Line: 11
Char: 1384
Code: 0
URI: http: //www.xxxxxxxxxx.com/clientscript/vbulletin_menu.js?v=382


After doing some more digging, I have pasted the total error that I get.

In light of the fix and problem Savior was experiencing, I am beginning to wonder if the mod isnt affecting the vb code that runs in "vbulletin_menu.js"?

Hopefully this helps

rasp187
07-19-2009, 01:46 AM
I'm having a small problem. This seems to be working fine, but when I try to adjust the article preview, nothing changes. Even right now, it's set to -1 and nothing shows up as a preview. It shows the Title, the thumbnail and that's it. I'd like to have a bit of a preview for the article, especially since I have this incorporated on my portal.

http://forums.thecatacombs.net/articles.php

*EDIT*

Seems like the only way I can display any sort of "preview" is by enabling BB Code for the program and then it displays the entire thread, not just part of it :(

New Joe
07-20-2009, 02:40 AM
How could I change the position for where the 'Articles' link is on my navigation bar, I have looked but I can't find the code for it in the navigation part.

New Joe
07-20-2009, 10:19 AM
^ the above doesn't matter now, I have done what I needed to do.

bposner
07-21-2009, 12:01 AM
This is somewhat general in nature, but because I need it for the article side maybe some knows. I can display attachements fine full if they are a picture, but .pdf files don't. Is something in vBulletin? or the Article Script?

Thanks

bananalive
07-21-2009, 03:09 PM
Nice addition. I installed this and was wondering if there is a layout format or setting to give the article a more magazine look, maybe columns, text wrap around images. etc.

Thanks!

No. But you could use bbcode to do text wrapping.

bananalive
07-21-2009, 03:35 PM
This is somewhat general in nature, but because I need it for the article side maybe some knows. I can display attachements fine full if they are a picture, but .pdf files don't. Is something in vBulletin? or the Article Script?

Thanks

I think it may be one of your settings. I have tested attached pdf to article and comment and both were fine:

http://www.bananalive.co.cc/showthread.php?p=494#post494

Hostboard
07-21-2009, 03:42 PM
Downlaoded and installed tested fine. Moved servers and now when I try to access a forum with this set to it it just hangs and can not display the web page.

Any ideas?

bananalive
07-21-2009, 03:46 PM
Downlaoded and installed tested fine. Moved servers and now when I try to access a forum with this set to it it just hangs and can not display the web page.

Any ideas?

Are php versions of the servers the same? Are the vbulletin versions the same?

Hostboard
07-21-2009, 03:57 PM
Server 100% different (moved off Linux to Windows IIS). Updated PHP and MySQL (running as MySQLi). Site is working perfectly since the move. Just can't get a forum to load with this enabled.

PHP - 5.2.9-2
MySQL - 5.1.33
vBulletin has not changed.

bposner
07-21-2009, 04:05 PM
I think it may be one of your settings. I have tested attached pdf to article and comment and both were fine:

http://www.bananalive.co.cc/showthread.php?p=494#post494

thanks, but I must not of made myself clear, sorry. In your configuration, you allow for attachments at FULL Display, not as a link but actually display the attachment. Works great with a picture, not with PDF is that a better explanation. Thanks for all your help and the hack.

Hostboard
07-21-2009, 04:12 PM
Ok if I go to forums/articles.php it works but if I goto forums/forumdisplay.php?f=x it does not.

lille L
07-21-2009, 06:37 PM
This is very near a review system ! How difficult will it be to make it possible to review these articles?

lille L
07-22-2009, 07:14 AM
Very nice ! Innstalled and working !

smirkley
07-22-2009, 07:24 AM
OK, still trying to figure out the script error that IE8 and IE6 report when viewing individual articles.

I reverted all the article templates, and even put the copyright back in thinking that might even change something.

I have tried each version of article.php that has been posted here for others fixes in this thread.

I also uploaded the xml posted here with the last article.php attached to one of the posts in this thread.

I did notice that when I uploaded the last xml, that I had to revert three article templates,..and interestingly the compare feature in admincp suggested I had v1.7 templates installed. I thought I was running of the v1.8 pack.

Anyway, still no luck.

Am I the only one with this issue?

bananalive
07-22-2009, 04:16 PM
thanks, but I must not of made myself clear, sorry. In your configuration, you allow for attachments at FULL Display, not as a link but actually display the attachment. Works great with a picture, not with PDF is that a better explanation. Thanks for all your help and the hack.

Vbulletin Options -> Article Forum Options -> Full Size Attachments -> No

bananalive
07-22-2009, 04:23 PM
Ok if I go to forums/articles.php it works but if I goto forums/forumdisplay.php?f=x it does not.

I'm about to release version which fixes javascript issue. I have also changed the php code which redirects forumdisplay to articles, so hopefully that will work for you.

bananalive
07-22-2009, 04:25 PM
This is very near a review system ! How difficult will it be to make it possible to review these articles?

I'm not sure what you mean...
You could change the phrases words from article to review

bananalive
07-22-2009, 04:25 PM
OK, still trying to figure out the script error that IE8 and IE6 report when viewing individual articles.

I reverted all the article templates, and even put the copyright back in thinking that might even change something.

I have tried each version of article.php that has been posted here for others fixes in this thread.

I also uploaded the xml posted here with the last article.php attached to one of the posts in this thread.

I did notice that when I uploaded the last xml, that I had to revert three article templates,..and interestingly the compare feature in admincp suggested I had v1.7 templates installed. I thought I was running of the v1.8 pack.

Anyway, still no luck.

Am I the only one with this issue?

I've found cause of the issue, it was to do with duplicate javascript code with needed to be removed. I'll release version shortly with this included.

(The template version refers to with which version they were last edited with - not all templates are edited between versions.)

Edit: if you meant the number at the bottom of the articles.php copyright, that is just due to me forgetting to editing the template.

Hostboard
07-22-2009, 05:10 PM
I'm about to release version which fixes javascript issue. I have also changed the php code which redirects forumdisplay to articles, so hopefully that will work for you.

Installed, and quickly tested. Seems to work perfectly now.

Thanx for the quick replies and fix :D

rasp187
07-22-2009, 09:40 PM
Banana, any idea on my issue? Every feature in the admincp works fine, and it displays the articles fine, too, but the preview feature does not work. If I keep parse BB code off, it won't show any preview of the article no matter what I set the number to; and when I turn parse BB code on it will display the entire article. It's almost like the preview feature is solely not working for me. Is there any way I can hard-code the preview length into the template itself just so I can have about a paragraph preview? Other than that it's a fantastic mod.

Thank you.

Saviour
07-23-2009, 12:38 AM
Instructions for upgrading, please...

I've been through a lot with this mod already...and don't want to start again from square one...if you can understand where I'm coming from.;)

bananalive
07-23-2009, 10:02 AM
Banana, any idea on my issue? Every feature in the admincp works fine, and it displays the articles fine, too, but the preview feature does not work. If I keep parse BB code off, it won't show any preview of the article no matter what I set the number to; and when I turn parse BB code on it will display the entire article. It's almost like the preview feature is solely not working for me. Is there any way I can hard-code the preview length into the template itself just so I can have about a paragraph preview? Other than that it's a fantastic mod.

Thank you.

Go to vBulletin Options -> Article forums Options -> Article Preview Length and set it as 20. Does this change anything?

bananalive
07-23-2009, 10:04 AM
Instructions for upgrading, please...

I've been through a lot with this mod already...and don't want to start again from square one...if you can understand where I'm coming from.;)

If you are upgrading from v1.8 to v1.9 you only need to import product file.

Otherwise, upload articles.php to forum directory and then import product file.

rasp187
07-23-2009, 03:13 PM
Go to vBulletin Options -> Article forums Options -> Article Preview Length and set it as 20. Does this change anything?

No, that doesn't change anything. I have set it from 5, 20, 100, 1,000, etc. and no changes to the preview - it will still show NO preview unless I enabled the parse BB code option.

I'm running your latest version, too. All other features work perfectly fine. I do have a custom forum template but only 2 other addons with VBA includes with your module, and a the Who's Online plugin. I have no idea why that one feature doesn't work.

smirkley
07-25-2009, 12:52 PM
Thank you for the update!!!

Fixed all issues.

rasp187
07-25-2009, 03:53 PM
Unfortunately, the update didn't fix this problem. Not sure what I can do, hah. I guess simply hard-coding the preview length into the template would suffice. Any advice on how to do that (I'm a novice here)? Thank you.

Also, a very easy question, I'm sure - how would I change the ...... separators for news feeds with an image (for example, my forum gradient bar)?

Thanks for all your help, banana.

Sweeks
07-26-2009, 07:22 PM
I am getting duplicate header and navbar when using vbadvanced with this, any way to rid of the navbar and header just for articles.php?

Thank you

ywwz
07-27-2009, 01:26 PM
This is excellent.

ddem1
07-27-2009, 01:44 PM
Fantastic!

Some features that would be real handy:

Custom article description.
Custom image selection for thumbnail. Or if it could somehow work with this mod?
https://vborg.vbsupport.ru/showthread.php?t=214755

Keep up the good work

Artes_Marciales
07-28-2009, 09:36 AM
Grat Job, thanks!! : )

Eruantien
07-28-2009, 09:42 AM
I am getting the following error after attempting to upgrade...


Content Encoding Error

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

Eruantien
07-28-2009, 08:03 PM
Anyone know what could have caused this or should I wait for the developer? I can go to specific articles but not the link to the Article section.

bananalive
07-29-2009, 06:08 PM
I am getting the following error after attempting to upgrade...
On which page?
What vBulletin version are you running?

Eruantien
07-29-2009, 06:22 PM
On which page?
What vBulletin version are you running?

http://www.loremaster.org/articles.php

I am on 3.8.3

1320Nation
07-29-2009, 06:35 PM
Any chance of this ever becoming compatible with 3.7 versions?

Btw, I have been using your 1st release of this mod on my 3.7 board, but it is just not fully feature compatible.

bananalive
07-29-2009, 06:59 PM
http://www.loremaster.org/articles.php

I am on 3.8.3

That page loads fine in my browser, firefox 3.5. What browser are you using?

Try clearing your browser cache.

bananalive
07-29-2009, 07:01 PM
Any chance of this ever becoming compatible with 3.7 versions?

Btw, I have been using your 1st release of this mod on my 3.7 board, but it is just not fully feature compatible.

I'm not sure what is causing the problem with 3.7. Did you modify (eg. disable any plugins, etc.) the first version to get it working with 3.7?

1320Nation
07-29-2009, 07:07 PM
I'm not sure what is causing the problem with 3.7. Did you modify (eg. disable any plugins, etc.) the first version to get it working with 3.7?

Well I noticed early on that you put that this mod is not compatible with 3.7 in the instructions. So because of that I never upgraded beond the 1st release. If you're now saying it should be compatible I will gladly upgrade because I really have a great use for your mod. Not only that but I like the fact that you have stuck with this mod and supported it.

bananalive
07-29-2009, 07:49 PM
Well I noticed early on that you put that this mod is not compatible with 3.7 in the instructions. So because of that I never upgraded beond the 1st release. If you're now saying it should be compatible I will gladly upgrade because I really have a great use for your mod. Not only that but I like the fact that you have stuck with this mod and supported it.

I have just tested v1.9 on vBulletin 3.7.0 Beta 4 and it worked fine. So the compatibility issue appears to have gone.

If you do wish to try installing v1.9 on your forum you will need to remove the following line from product file
<dependency dependencytype="vbulletin" minversion="3.8.0" maxversion="" />

1320Nation
07-29-2009, 09:48 PM
I have just tested v1.9 on vBulletin 3.7.0 Beta 4 and it worked fine. So the compatibility issue appears to have gone.

If you do wish to try installing v1.9 on your forum you will need to remove the following line from product file
<dependency dependencytype="vbulletin" minversion="3.8.0" maxversion="" />


Thank you very much. Everything appears to be working very well!

Eruantien
07-29-2009, 10:07 PM
All appears fine now, thanks for checking into it :)

rasp187
07-30-2009, 02:09 AM
Any help with my problem, banana?

bananalive
07-30-2009, 11:00 AM
Unfortunately, the update didn't fix this problem. Not sure what I can do, hah. I guess simply hard-coding the preview length into the template would suffice. Any advice on how to do that (I'm a novice here)? Thank you.

Also, a very easy question, I'm sure - how would I change the ...... separators for news feeds with an image (for example, my forum gradient bar)?

Thanks for all your help, banana.
Find in articles.php
eval('$a_breaking .= "' . fetch_template('af_articlebit') . '";');
Before add
$thread['preview'] = substr($thread['preview'], 0 , 100);
where 100 is preview length you want.

Just add image at top of template af_articlebit and remove the following code:
border-top-width: 1px; border-top-style: dotted;

cbiweb
07-30-2009, 12:07 PM
What would cause the article and the comments to change places? When I post an article, it looks perfect, as expected. As soon as someone comments, the comment is now in the article's place, and the article is down with other comments. ?????

I'm not sure... check the times of the posts. Also have you enabled newest posts first for threads?
That's exactly what it was. Problem solved, mod works great! Thanks!

Eruantien
07-30-2009, 12:21 PM
That page loads fine in my browser, firefox 3.5. What browser are you using?

Try clearing your browser cache.

Okay, so the issue appears to be with IE. I can not replicate the error with FF.

Joshva
07-30-2009, 01:59 PM
Is their anyway to get this working without the redirect to articles.php? I.e. clicking on the forum goes straight there

ddem1
07-30-2009, 02:31 PM
Is their anyway to get this working without the redirect to articles.php? I.e. clicking on the forum goes straight there

You can put a link to articles.php in the forum manager, that would take you straight then without redirecting :)

I have a different question. Is there any way to change the articles.php title without the vbphrase? So I can have the breadcrumbs eg. Reviews and my mainpage title separated.

This is really important to me as I'm using this for the main page (changed it to index.php) and it's kinda stupid having Reviews written up there instead of my websites title.

Any help greatly appreaciated :)

Joshva
07-30-2009, 02:57 PM
You can put a link to articles.php in the forum manager, that would take you straight then without redirecting :)

I have a different question. Is there any way to change the articles.php title without the vbphrase? So I can have the breadcrumbs eg. Reviews and my mainpage title separated.

This is really important to me as I'm using this for the main page (changed it to index.php) and it's kinda stupid having Reviews written up there instead of my websites title.

Any help greatly appreaciated :)


I'd also like to know this as I want to use it for the home page to.



Great mod.

Joshva
07-30-2009, 03:01 PM
Also is there anyway to get this to work with multiple forums not in the same heirachy?

rasp187
07-30-2009, 06:45 PM
Find in articles.php
eval('$a_breaking .= "' . fetch_template('af_articlebit') . '";');
Before add
$thread['preview'] = substr($thread['preview'], 0 , 100);
where 100 is preview length you want.

Just add image at top of template af_articlebit and remove the following code:
border-top-width: 1px; border-top-style: dotted;

Adding that line in articles.php just kills the images on the articles page and doesn't modify the preview. If I have BB code off, the preview stays full (still) and the images are not shown, but if I put BB code on the preview still stays full but the images are then broken (red x's).

Eruantien
07-31-2009, 05:08 PM
Okay, so the issue appears to be with IE. I can not replicate the error with FF.

Okay, now it doesn't work with anything :D

Do not discount my own ability to mess things up :eek:

Eclyps19
08-01-2009, 03:52 PM
for some reason I when I check the options in the admincp for showing the create new article, search article, display options, etc, they don't save. I hit save, but when I revisit the articles section the checks are now unchecked. Any ideas?

Eruantien
08-02-2009, 12:50 PM
Still looking for some assistance to correct the encoding issue.

ywwz
08-03-2009, 12:47 AM
can you make a 3.8.x version for us ? please...

ywwz
08-03-2009, 12:49 AM
my mistake, i replied wrong thread...

Eruantien
08-03-2009, 07:21 PM
Any support for the issue I am having?

metalguy639
08-04-2009, 10:29 AM
I'm using this article hack. I would like to have a hack that is for classifieds that is pretty much just like this article hack. Is it possible to get this as a classified hack where I can have both installed on my site?

Qwest
08-04-2009, 05:13 PM
To get rid of the 'redirecting..' message. (if you have vBSEO)

Add this custom rewrite to the custom rewrites section in your vbseocp

'articles\.php\?c=25'=>'articles-media/'

Where 25 = the forum ID
Where articles-media/ = the vbseo url of the forum category you want to rewrite.

Result: http://www.modernconspiracy.com/articles-media/

Joshva
08-04-2009, 06:11 PM
To get rid of the 'redirecting..' message. (if you have vBSEO)

Add this custom rewrite to the custom rewrites section in your vbseocp

'articles\.php\?c=25'=>'content-media/'

Where 25 = the forum ID
Where content-media/ = the vbseo url of the forum category you want to rewrite.

Result: http://www.modernconspiracy.com/content-media/

You are an absolute legend!!!! Awesome. Been trying to fix that for ages!

Do you know how to get this mod working for multiple forums in different category heirachies?

bposner
08-04-2009, 09:51 PM
Thank you for a great mod. We are experimenting with setting up a magazine kinda thing with this. I just had one question (I'm not a coder) but where can I change the word "Article" that comes up in the navbar when you select that option?
Also, I'd like the sort of the page that lists all the articles when you enter the area, to auto sort by first article entered, kinda like a Table of Contents. I'm not sure how to make this a permanent sort, if possible. Appreciate the hard work, really like the format.

Thank you!

Eruantien
08-06-2009, 09:29 PM
Can anyone help me figure out this encoding error? The mod author does not appear responsive lately. This issue only came about when I upgraded recently when a new version of the mod was released.

The URL of my issue can be found here: http://www.loremaster.org/articles.php

metalguy639
08-07-2009, 02:08 AM
Thank you for a great mod. We are experimenting with setting up a magazine kinda thing with this. I just had one question (I'm not a coder) but where can I change the word "Article" that comes up in the navbar when you select that option?
Also, I'd like the sort of the page that lists all the articles when you enter the area, to auto sort by first article entered, kinda like a Table of Contents. I'm not sure how to make this a permanent sort, if possible. Appreciate the hard work, really like the format.

Thank you!

To change the word Article you just need to change the phrase.

Login to your admincp & scroll down to you see "Search In Phrases" click on it. In the top block put the word article in it and then in the drop down see if the article mod is listed if not tick the 3rd button down that states something to the effect of search in both areas. Then click the search/ok button. Then you will see the phrases that contain the word Article. Change the word article to whatever word you want and click save for each one. As for the second part, I have no idea. There are some settings for this mod in the admin panel, you may want to look at your vbulletin options to see about making changes in the mod.

metalguy639
08-07-2009, 02:09 AM
Can anyone help me figure out this encoding error? The mod author does not appear responsive lately. This issue only came about when I upgraded recently when a new version of the mod was released.

The URL of my issue can be found here: http://www.loremaster.org/articles.php

What encoding error? I do not see an error on the page other than the articles column is pretty small.

Eruantien
08-07-2009, 11:09 AM
All of my users including myself are seeing this error. I have cleared out cache and cannot figure out what is causing it. I am getting it on both IE and FF. I can see it the first time but then the encoding error comes up. I would have to keep clearing cache.

Maybe this is an issue with the redirect I am seeing?

metalguy639
08-07-2009, 05:47 PM
All of my users including myself are seeing this error. I have cleared out cache and cannot figure out what is causing it. I am getting it on both IE and FF. I can see it the first time but then the encoding error comes up. I would have to keep clearing cache.

Maybe this is an issue with the redirect I am seeing?

Sorry I maybe able to help you but I need to know what the error is. I do not see an error in firefox or IE, I've attached what I see. There is no error warning or anything out of the ordinary that i see so you'll have to be more specific than its an encoding error. I've attached screenshots.

Eruantien
08-07-2009, 05:56 PM
I'll try to get the IE one up but here is the Firefox version. My users are having the same error. This error occurs only when going to http://www.loremaster.org/articles.php

They can still view the individual articles, just not the link I provided above. Which is problematic when they are trying to locate older articles.

https://vborg.vbsupport.ru/external/2009/08/25.png

metalguy639
08-07-2009, 06:28 PM
When did it start to do this? Was it after you installed a new hack or mod t the forum or did you make any template changes right before it went nuts on you. Do you have other hacks installed? If so there maybe a conflict with one of the other hacks. It could be any number of things really that would cause this sort of error.

Also i'm guessing it only happens when you are a member & logged in because I can see the articles just fine as a guest not logged in. I can navigate the area, read the articles etc and I get no error like that. So this is somehow tied to being logged in as well. Is there a hack that you've installed that might affect logging in or registration etc.

Eruantien
08-07-2009, 06:34 PM
It was recently right after I updated it to the new Articles version.

And yes, it appears to strictly be when someone is logged in; thanks for pointing that out. I can see it perfectly fine when I am logged out.

metalguy639
08-07-2009, 11:45 PM
Hmmmm ok well you maybe have to revert it back to the old version if you still have it. Do you still have a copy of the older version somewhere? If it worked before the upgrade then there is no reason why it should not work after putting it back to the last version you used. There maybe no other fix until the developer fixes it.