Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Article Forums Details »»
Article Forums
Version: 1.9, by bananalive bananalive is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.8.x Rating:
Released: 04-18-2009 Last Update: 07-21-2009 Installs: 640
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.


Turn a forum into an article forum. Sub-forums are turned into categories.
  • Posts/Articles show in searches & in new posts
  • Create as many sub-forums/ categories as you need
  • Follows forum permissions
  • Can still rate thread, etc.
  • Different postbits for article and replies (comments)
  • Choose what to display in postbit for article and comments
  • Choose what to display on articles in vBulletin Options
* Not compatible with 3.7.x forums *

Installation:
  1. Upload articles.php
  2. Import product file
  3. Create a forum in admincp
  4. Go to vBulletin Options->Article forum Options
Remember to click Mark as Installed to receive updates and support
Possible Future Additions:
  • Make article collapsible
  • Allow multiple article forums
Translations:

Download Now

File Type: zip vb_articleforum v1.9.zip (19.4 KB, 2551 views)

Screenshots

File Type: jpg articles.jpg (97.6 KB, 0 views)
File Type: jpg phpm5XJDPAM.jpg (59.9 KB, 0 views)
File Type: jpg articles_altdisplay.jpg (102.2 KB, 0 views)
File Type: jpg phpdNSpFGAM.jpg (98.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
SANBOR

Comments
  #582  
Old 06-24-2009, 01:54 AM
Omar Al-Ansari Omar Al-Ansari is offline
 
Join Date: Jun 2009
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by asiaphoto View Post
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
Reply With Quote
  #583  
Old 06-24-2009, 10:18 AM
rEd86's Avatar
rEd86 rEd86 is offline
 
Join Date: May 2009
Location: United States
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #584  
Old 06-24-2009, 12:28 PM
Omar Al-Ansari Omar Al-Ansari is offline
 
Join Date: Jun 2009
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rEd86 View Post
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

Code:
http://www.xxxx.com/'.Array['bburl'].'/showthread.php?t=2
Any ideas?
Reply With Quote
  #585  
Old 06-24-2009, 12:48 PM
rEd86's Avatar
rEd86 rEd86 is offline
 
Join Date: May 2009
Location: United States
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Omar Al-Ansari View Post
Thanks rEd86 for your reply

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

Code:
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
Reply With Quote
  #586  
Old 06-24-2009, 01:04 PM
Omar Al-Ansari Omar Al-Ansari is offline
 
Join Date: Jun 2009
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rEd86 View Post
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
Reply With Quote
  #587  
Old 06-24-2009, 01:23 PM
rEd86's Avatar
rEd86 rEd86 is offline
 
Join Date: May 2009
Location: United States
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #588  
Old 06-24-2009, 01:26 PM
Dunhamzzz Dunhamzzz is offline
 
Join Date: Jul 2008
Location: Hampshire, UK
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #589  
Old 06-24-2009, 03:43 PM
nohuhu nohuhu is offline
 
Join Date: Dec 2008
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #590  
Old 06-24-2009, 04:29 PM
Omar Al-Ansari Omar Al-Ansari is offline
 
Join Date: Jun 2009
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rEd86 View Post
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:

Code:
<a href="
Replace by:

Code:
<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
Attached Images
File Type: jpg Untitled-1.jpg (88.7 KB, 0 views)
Reply With Quote
  #591  
Old 06-24-2009, 09:10 PM
skooby skooby is offline
 
Join Date: May 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:50 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06081 seconds
  • Memory Usage 2,358KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete