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)

TimberFloorAu 04-20-2009 09:01 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]"

K That fixed the Ajax editor issue, thanks.

Just the Comments and most read now.

Will work on the sub cats

Sweeks 04-20-2009 10:28 PM

Another problem, when a article has more than 1 page worth of replies, the first poster on the second page appears as if they have written the article like the main article postbit style.

Hope this can be fixed :)

Thank you.
________
Xxx Free Movies

kevinfx 04-21-2009 05:05 AM

I'm also having issue with Most popular & most commented articles not showing up

nohuhu 04-21-2009 07:22 AM

bananalive,

ugh, this "most read" and "most commented" problem turned out to be more prosaic than i thought and it shouldn't have anything to do with character sets or whatever. it's that you're using af_articlesmallbit template in the script and it's absent in the product file. ;) no wonder it works only in your development environment. ;)

nohuhu 04-21-2009 07:30 AM

bananalive,

uh, an while poking around script's guts i got a suggestion: it would be good to have title length limit configurable instead of hardcoded 25 characters. it pretty much depends on style and font used so in some cases 25 characters can be too long and in some it can be too short. i mean title length for "most read" and "most commented" blocks, that is.

bananalive 04-21-2009 02:20 PM

Quote:

Originally Posted by nohuhu (Post 1795759)
bananalive,

uh, an while poking around script's guts i got a suggestion: it would be good to have title length limit configurable instead of hardcoded 25 characters. it pretty much depends on style and font used so in some cases 25 characters can be too long and in some it can be too short. i mean title length for "most read" and "most commented" blocks, that is.

I'll include that in next release.

bananalive 04-21-2009 02:24 PM

Quote:

Originally Posted by nohuhu (Post 1795754)
bananalive,

ugh, this "most read" and "most commented" problem turned out to be more prosaic than i thought and it shouldn't have anything to do with character sets or whatever. it's that you're using af_articlesmallbit template in the script and it's absent in the product file. ;) no wonder it works only in your development environment. ;)

Yes, thank you. very well spotted :D

bananalive 04-21-2009 02:42 PM

Quote:

Originally Posted by Sweeks (Post 1795568)
Another problem, when a article has more than 1 page worth of replies, the first poster on the second page appears as if they have written the article like the main article postbit style.

Hope this can be fixed :)

Thank you.

It should show article at top of every page, I've fixed this now

crkgb 04-21-2009 02:51 PM

Hello. Thank you currently testing. In my case

Most Read Articles and Most Commented Articles are empty although there are multiple articles and multiple comments. Everything else seems to work just fine.

bananalive 04-21-2009 02:56 PM

Quote:

Originally Posted by crkgb (Post 1796010)
Hello. Thank you currently testing. In my case

Most Read Articles and Most Commented Articles are empty although there are multiple articles and multiple comments. Everything else seems to work just fine.

Fixed in v1.2, just released in first post

crkgb 04-21-2009 03:00 PM

Thank you. Super fast.

Also many people have custom bb codes. Those are displayed if included in the beginning of the article. Is there a way to disable those in the articles.php display?

bananalive 04-21-2009 03:15 PM

Quote:

Originally Posted by crkgb (Post 1796020)
Thank you. Super fast.

Also many people have custom bb codes. Those are displayed if included in the beginning of the article. Is there a way to disable those in the articles.php display?

open articles.php

line 304
PHP Code:

$thread process_thread_array($thread$lastread$foruminfo['allowicons']); 

Add after:
PHP Code:

$thread[preview] = str_replace('[custombbcode]'''$thread[preview]);
$thread[preview] = str_replace('[/custombbcode]'''$thread[preview]); 


crkgb 04-21-2009 03:25 PM

Thank you.

I am using bb-code of left/right align image. I have the URL portion (what is between the bbcodes) still being displayed.

BlueNinjaGo 04-21-2009 03:27 PM

Ok... I installed the newest release on my 3.7.3 board...

So far, everything seems to be working. I do have a question... When setting the option for length of description... (the default is -1)... I set it to 0 so it would have no preview... needless to say it previews the whole article...

bananalive 04-21-2009 03:38 PM

Quote:

Originally Posted by BlueNinjaGo (Post 1796045)
Ok... I installed the newest release on my 3.7.3 board...

So far, everything seems to be working. I do have a question... When setting the option for length of description... (the default is -1)... I set it to 0 so it would have no preview... needless to say it previews the whole article...

Find in template: af_articlebit
PHP Code:

$thread[preview

Repalce
PHP Code:

<if condition="$vboptions[af_threadpreview]!=0">$thread[preview]</if> 


bananalive 04-21-2009 03:43 PM

Quote:

Originally Posted by crkgb (Post 1796041)
Thank you.

I am using bb-code of left/right align image. I have the URL portion (what is between the bbcodes) still being displayed.

Yes it will.

BlueNinjaGo 04-21-2009 04:00 PM

1 Attachment(s)
When I go to open an article, i get an error message pop up... (see attachment)

calord 04-21-2009 04:06 PM

I would install but I am too confused about how this works. Please try to be more thorough in the description and please also note whether this is compatible with 3.6/3.7 boards.

My main question is what this does other can create an "article" section. I want to install but not until I know the exact functionality. Does this allow me to take stickies in forums and make them into articles? Or do I have to create a sub-form for every post I want to be an article?

Any clarification welcome.

Sweeks 04-21-2009 04:10 PM

Quote:

Originally Posted by bananalive (Post 1796001)
It should show article at top of every page, I've fixed this now

I dont understand. On our forum if the article goes onto 2 pages of replies the first poster on the second page appears to be the article starter with the nice postbit etc. Is there a fix already for this?

Thanks
________
Stefano Domenicali

bananalive 04-21-2009 05:15 PM

Quote:

Originally Posted by BlueNinjaGo (Post 1796067)
When I go to open an article, i get an error message pop up... (see attachment)

if you disable article forums do you still get the error message?

bananalive 04-21-2009 05:16 PM

Quote:

Originally Posted by Sweeks (Post 1796073)
I dont understand. On our forum if the article goes onto 2 pages of replies the first poster on the second page appears to be the article starter with the nice postbit etc. Is there a fix already for this?

Thanks

The article should appear at the top post of every page. This issue was fixed in v1.2

bananalive 04-21-2009 05:19 PM

Quote:

Originally Posted by calord (Post 1796070)
I would install but I am too confused about how this works. Please try to be more thorough in the description and please also note whether this is compatible with 3.6/3.7 boards.

My main question is what this does other can create an "article" section. I want to install but not until I know the exact functionality. Does this allow me to take stickies in forums and make them into articles? Or do I have to create a sub-form for every post I want to be an article?

Any clarification welcome.

It basically modifies the display of a forum and the threads in that forum. The forum list is replaced with this and the thread view is modified to look like this.

I have not tested in on vb v3.6 or vb3.7

Sub-forums are the categories for the articles to be posted in.

Creating an article is just posting a new thread in the article forum.

BlueNinjaGo 04-21-2009 05:28 PM

I disabled and the message did not pop up. (tried 5 times)

I re-enabled and it came back again.

It pops up EVERY time I open the article.

Edit: I'm using 3.7 and this is the ONLY bug I've ran into so far.

bananalive 04-21-2009 05:33 PM

Quote:

Originally Posted by BlueNinjaGo (Post 1796141)
I disabled and the message did not pop up. (tried 5 times)

I re-enabled and it came back again.

It pops up EVERY time I open the article.

Edit: I'm using 3.7 and this is the ONLY bug I've ran into so far.

Did you get this error in previous versions of modification?

See if you have the hook location: showthread_query_postids

BlueNinjaGo 04-21-2009 05:40 PM

I don't remember this error before, but I was more worried about my other boards being unable to be used so I uninstalled very quickly...

And where would i look for that hook?

bananalive 04-21-2009 05:45 PM

Quote:

Originally Posted by BlueNinjaGo (Post 1796147)
I don't remember this error before, but I was more worried about my other boards being unable to be used so I uninstalled very quickly...

And where would i look for that hook?

AdminCP -> Plugins & Products -> Add new plugin

look in Hook Location dropdown for the hook name.

BlueNinjaGo 04-21-2009 05:48 PM

Ahh... thank you... learned my new fact for today....

And yes, it's in the list.

Sweeks 04-21-2009 06:10 PM

Thank you, missed the update and working perfectly now :)
________
Yamaha yzr500 history

TimberFloorAu 04-21-2009 07:11 PM

Top Banana :up:

Sweeks 04-21-2009 07:17 PM

Nominated ;)
________
Motorcycle Tires

bananalive 04-21-2009 07:56 PM

Quote:

Originally Posted by BlueNinjaGo (Post 1796160)
Ahh... thank you... learned my new fact for today....


And yes, it's in the list.

I tested this on vb3.7.0 and couldn't get it working, something must have chnaged in showthread.php

TimberFloorAu 04-21-2009 08:13 PM

Hey Banana is their a way to tweak the postbit part ( posters avatar etc )

All we want is Avatar , and Username

BlueNinjaGo 04-21-2009 08:15 PM

Well, do you have any suggestions? Besides uninstall? :(

Do you think you'll have time/interest in getting it to work for 3.7? It's an awesome mod and seems like it's almost there!

TimberFloorAu 04-21-2009 08:19 PM

Wouldnt it be easier for you to upgrade to 3.8 mate ?

BlueNinjaGo 04-21-2009 08:27 PM

No, not really an option.

hjimeneza 04-21-2009 11:45 PM

1 Attachment(s)
Hi, I would like to remove the navbar link, how can I accomplish that?

Thanks in advance.

Mihalis 04-22-2009 09:22 AM

A couple of suggestions for this wonderful mod...

- An Option to choose how many articles will be visible in the directory.

- An Option not to keep the article sticky in every comment page

Also I have encountered a problem with BBcodes if they are used in the beginning of an article. You see the actual code in the directory and not the BBcode result.

Thanx!

Alfa1 04-22-2009 12:32 PM

Please add a rating function/system, so that we can use this for reviews.

BlueNinjaGo 04-22-2009 12:43 PM

1 Attachment(s)
Quote:

Originally Posted by Alfa1 (Post 1796685)
Please add a rating function/system, so that we can use this for reviews.

There is a function already installed... Same as rating a thread.

Alfa1 04-22-2009 01:21 PM

The standard thread rating function, is too basic for reviews. A rating function for multiple qualities would be needed.

Please see the ratings on softonic. On the right you'll see ratings on 5 qualities.


All times are GMT. The time now is 01:30 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.01952 seconds
  • Memory Usage 1,839KB
  • 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
  • (1)bbcode_html_printable
  • (4)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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