vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Display Enhancements - Article Forums (https://vborg.vbsupport.ru/showthread.php?t=211638)

bananalive 04-19-2009 04:55 PM

Quote:

Originally Posted by BlueNinjaGo (Post 1794552)
I figured I'd try to install this on 3.7.3 to see if it works...

I installed it, and went straight to the options to pick which forums/boards i wanted it to be applied to.

I changed it from what it was defaulted to, to a board in the staff only section.

Immediately, whenever i tried to open a thread in the boards that used to have the article system, it wouldn't open the thread. (see second picture in attachment.)

Also, across the top of every page there is an error message. (First picture in attachment.)

I realize this is a 3.8 mod, but i just thought I'd let you know what happened when I installed it on a 3.7 board.

Suggestion: An enable/disable option in ACP option.

Latest version has showthread error fixed.

bananalive 04-19-2009 05:00 PM

Version History

v1.9
- JavaScript minor bug fix on showthread
- forumdisplay re-direct handled by vBulletin's inbuilt re-director


v1.8
- WOL for articles.php
- altered showthread
- altered first post/ article postbit
- choose modules for articles.php


v1.7
- Better phrase changing for newpost
- Moved Rating in Show Thread
- More display options for Article Post
- Fixed ie 6 image bug


v1.6
- Search by first letter of article title
- Show letters at top of articles.php for easy searching
- option to use default sort order in $foruminfo
- option to disable article forums on some forum styles
- option to specify div surrounding article thumbnail width for consistency on articles.php


v1.5
- Search article text for image thumbnail to display on articles.php (if post has no attachments)
- Article tools beneath Author info


v1.4
- fix ie8 bug

v1.3
- more options
- search articles on articles.php
- fixed display of articles.php in internet explorer


v1.2
- included missing template
- fixed article multiple pages issue
- added option for title length limit
- added option for length of thread/article preview


v1.1
- fixed showthread bug
- works with just one forum
- hides signature in article postbit


v1.0
- initial release

Sweeks 04-19-2009 05:10 PM

Tried the latest but no Most Commented coming up sadly.
________
Weed vaporizers

bananalive 04-19-2009 05:28 PM

Quote:

Originally Posted by Sweeks (Post 1794583)
Tried the latest but no Most Commented coming up sadly.

what vb version? do you have empty box or no box at all?

nohuhu 04-19-2009 05:34 PM

bananalive,

i have the same situation as Sweeks, vb 3.8.2, it shows an empty box.

p.s. downloaded the latest version, still no go with article/comment postbits. default postbit is shown regardless of the settings.

Sweeks 04-19-2009 05:38 PM

vb 3.8.1 ;)
________
Sell Vaporizers

nohuhu 04-19-2009 05:39 PM

bananalive,

another suggestion: can you add an option to change article author and post date? i have an old forum on phpbb that uses mx_kb mod for knowledge base articles and i would want to move all the stuff from there to the new vbulletin-based forum. i don't want to appear as the only article contributor though. :)

Sweeks 04-19-2009 05:56 PM

Quote:

Originally Posted by nohuhu (Post 1794603)
bananalive,

another suggestion: can you add an option to change article author and post date? i have an old forum on phpbb that uses mx_kb mod for knowledge base articles and i would want to move all the stuff from there to the new vbulletin-based forum. i don't want to appear as the only article contributor though. :)

Doesnt the change posts owner hack work for that?
________
SC REPLAYS.COM

nohuhu 04-19-2009 06:39 PM

Sweeks,

oopsie, never knew such a mod existed, thanks. i must admit i'm not that familiar with vbulletin yet. :)

Sweeks 04-19-2009 06:43 PM

No problem. Just hope this gets fixed asap :)
________
Drug Test Kit

Spikeman 04-19-2009 07:09 PM

When using vBa within forums as I do, you get a double navbar? Any ideas?

bananalive 04-19-2009 07:15 PM

Quote:

Originally Posted by Spikeman (Post 1794651)
When using vBa within forums as I do, you get a double navbar? Any ideas?

where in forums or articles.php page?

bananalive 04-19-2009 07:23 PM

Quote:

Originally Posted by Sweeks (Post 1794640)
No problem. Just hope this gets fixed asap :)

What forum structure are you trying to use for Articles Forum?

Sweeks 04-19-2009 07:26 PM

It is a forum not a category which has denied all permissions subforums under it which arent used and that is all :) It has around 100 threads in it too. Its set to act as forum and all the regular setup.
________
COACH HANDBAGS

Spikeman 04-19-2009 07:29 PM

Quote:

Originally Posted by bananalive (Post 1794652)
where in forums or articles.php page?

Sorted now, had to comment out the navbar in articles.php

Sweeks 04-19-2009 07:36 PM

Is there any way so I can have the articles display within a normal looking forumdisplay and then on the showthread keep the article layout etc? Im not too keen on the main articles.php page.

Thanks
________
Marijuana Clinics In Westchester

bananalive 04-19-2009 07:41 PM

1 Attachment(s)
Quote:

Originally Posted by Sweeks (Post 1794656)
It is a forum not a category which has denied all permissions subforums under it which arent used and that is all :) It has around 100 threads in it too. Its set to act as forum and all the regular setup.

Try attached files

bananalive 04-19-2009 07:41 PM

Quote:

Originally Posted by Sweeks (Post 1794662)
Is there any way so I can have the articles display within a normal looking forumdisplay and then on the showthread keep the article layout etc? Im not too keen on the main articles.php page.

Thanks

disable forumdisplay plugins:

Article Forum (forumdisplay_complete)

Edit Show Thread (showthread_complete)

PHP Code:

if ($articleforum)
{
eval(
'$SHOWTHREAD = "' fetch_template('SHOWTHREAD') . '";');
$SHOWTHREAD str_replace($vbphrase[thread], $vbphrase[article], $SHOWTHREAD);
$SHOWTHREAD str_replace("newthread.gif","newarticle.gif"$SHOWTHREAD);
print_output($SHOWTHREAD);



Spikeman 04-19-2009 07:44 PM

Quote:

Originally Posted by Spikeman (Post 1794658)
Sorted now, had to comment out the navbar in articles.php

oops, not sorted, look here http://www.beta-tester.co.uk/iphone/articles.php all is ok then click on article. Double navbar.

bananalive 04-19-2009 07:47 PM

1 Attachment(s)
Quote:

Originally Posted by Spikeman (Post 1794669)
oops, not sorted, look here http://www.beta-tester.co.uk/iphone/articles.php all is ok then click on article. Double navbar.

try this

Sweeks 04-19-2009 07:51 PM

Quote:

Originally Posted by bananalive (Post 1794665)
disable forumdisplay plugins:

Article Forum (forumdisplay_complete)

Edit Show Thread (showthread_complete)

PHP Code:

if ($articleforum)
{
eval(
'$SHOWTHREAD = "' fetch_template('SHOWTHREAD') . '";');
$SHOWTHREAD str_replace($vbphrase[thread], $vbphrase[article], $SHOWTHREAD);
$SHOWTHREAD str_replace("newthread.gif","newarticle.gif"$SHOWTHREAD);
print_output($SHOWTHREAD);



Thank you I prefer it like this now :) Much simpler too. I gather it is fine to delete articles.php too?
________
Portable Vaporizer Pipe Review

Spikeman 04-19-2009 07:56 PM

Quote:

Originally Posted by bananalive (Post 1794672)
try this

nope, this puts back navbar in article.php and double navbar in the showthresd article.

Commenting out lines 36 & 376 in articles.php will take out the double navbar in articles.php but not the showthread.

Reycer 04-19-2009 11:05 PM

yep, I was getting the double navbar thing too. Might wanna take that out of articles.php

ArnyVee 04-20-2009 12:47 AM

I'm keeping this one in my *tagged* list :up:

Looks like something that I definitely will use in the near future :D

Forumi Shqiptar 04-20-2009 01:54 AM

Nice idea :)

Unfortunately i got the ones of vbmary and it still works fine with vb 3.8 version so i dont intend on changing but might use this mode for other purposes.

*tagging this thread...

TimberFloorAu 04-20-2009 03:03 AM

Another GREAT mod Banana !!!

We LOVE it, Installed and Marked for MOTM

Just a couple of issues.

When we go back to edit a article, the editor window extends over the postbit, and looks kinda crappy. ( I can live with that )

Can we reduce postbit to just Username and avatar, and perhaps a link underneath with the amount of Articles they have created. Their rating etc.

Cheers Big Ears

TalkVirginia 04-20-2009 06:59 AM

Looks like an awesome addon! I'll keep an eye on this and install it later. Gratz! Keep up the great work! Nominated for MOTM.

soletrader 04-20-2009 07:05 AM

I noticed that the breadcrumbs are wrong in a forum with this enabled. Can anyone verify?

TimberFloorAu 04-20-2009 07:11 AM

Yes Sole they are incorrect.

ours should be

forum>news>articles

instead we get

forum>articles>news

____________________________

+ we dont get displayed :
most read articles
most commented articles

+ we cannot see how to add categories, as per Bananas Demo.

Ste

soletrader 04-20-2009 07:21 AM

Quote:

Originally Posted by TimberFloorAu (Post 1794987)
Yes Sole they are incorrect.

ours should be

forum>news>articles

instead we get

forum>articles>news

____________________________

+ we dont get displayed :
most read articles
most commented articles

+ we cannot see how to add categories, as per Bananas Demo.

Ste

Okay, Ill wait for an update by the author. btw, nice site.

TimberFloorAu 04-20-2009 07:22 AM

Thanks :)

bananalive 04-20-2009 03:49 PM

1 Attachment(s)
Attached file should fix issue with parent forums not showing in navbar for article forum which are sub-forums

The double navbar is caused by vba cmps

To have categories create sub-forums

I'm still not sure why 'most read articles', etc are blank for some of you, it might be due to special characters in one of the thread title though?

BlueNinjaGo 04-20-2009 03:51 PM

Anyone get it working on a 3.7 board? I tried and it didn't go so well for me...

Sweeks 04-20-2009 04:26 PM

I have a problem when editing an article, the editor will stretch over the avatar part on the right and look awful. Any ideas on how to fix?

Thank you :)
________
AMATEUR TUBES

Trip 04-20-2009 06:18 PM

Looks like a real useful modification. Might give it a shot.
Thanks.

bananalive 04-20-2009 06:23 PM

Quote:

Originally Posted by Sweeks (Post 1795289)
I have a problem when editing an article, the editor will stretch over the avatar part on the right and look awful. Any ideas on how to fix?

Thank you :)

Quick fix is to disable ajax edit for first post

Delete in template: af_firstpost
HTML Code:

name="vB::QuickEdit::$post[postid]"

nohuhu 04-20-2009 06:32 PM

bananalive,

what do you mean by "special characters"? i have only cyrillic in windows-1251 codepage. ;)

bananalive 04-20-2009 07:39 PM

Quote:

Originally Posted by nohuhu (Post 1795379)
bananalive,

what do you mean by "special characters"? i have only cyrillic in windows-1251 codepage. ;)



anything not alpha-numeric, ie. symbols, punctuation, etc.

I've tested , - ' " without problem

Sweeks 04-20-2009 07:42 PM

Quote:

Originally Posted by bananalive (Post 1795367)
Quick fix is to disable ajax edit for first post

Delete in template: af_firstpost
HTML Code:

name="vB::QuickEdit::$post[postid]"

Perfect thank you so much :)
________
FIRST-GENERATION CAMARO

gamerscms 04-20-2009 08:46 PM

This is looking good, i will have to check it out.


All times are GMT. The time now is 04:42 AM.

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.02094 seconds
  • Memory Usage 1,838KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete