vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - Article Forums v4.x (https://vborg.vbsupport.ru/showthread.php?t=237116)

Phrost 01-29-2012 09:39 PM

Any idea how to get rid of this blank column (highlighted in red)

https://vborg.vbsupport.ru/external/2012/01/10.png

mauro269 02-05-2012 11:19 PM

Hi,
I've a big problem. I've installed this great mod and all works fine on the normal website. The problem occurs when I try to navigate my forum through the mobile version. If I try to visit the NEWS SECTIONS via smartphone, I see the same page structure of the normal website.

Is it possible to disable this view only for mobile version?
Thanks

deverill2010 02-08-2012 10:46 PM

Is anyone using this mod who has the Facebook app?

This mod is causing this error when trying to view trickles on the Facebook app

Code:

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/midwife/public_html/fb/category.php on line 2523
Anyone know what I can do? Otherwise I'll have too uninstall this.

deverill2010 02-14-2012 07:46 PM

Anyone?
It's been narrowed down to the plugin called First post always show -

PHP Code:

$scriptname basename($_SERVER['PHP_SELF'], ".php");  
if (
$scriptname != 'content' && $thread['firstpostid'] && is_array($ids) && !in_array($thread['firstpostid'], $ids) && $articleforum && $vbulletin->options['af_firstpost'])
{
$ids[] = $thread[firstpostid];


I've disabled it and can't see any different, so what does the above actually do?

Because if I can keep the article product installed and keep my article threads as articles (as they are) with the first post always show plugin disabled and be able to use my Facebook app to view articles then I'm a happy bunny!

Volvoholic 02-18-2012 08:31 AM

Help !

I messed up my af_articlebit and I can't get the original one back, even after uninstalling and reinstalling. How do I fix this please?

Secondly, how do I remove the Category block. It cannot be deselected in the options section.

Thanks in advance.

Preech 03-05-2012 12:17 PM

Replace your af_articlebit with this.
PHP Code:

<div style="padding:0px 0px 0px 0px;<vb:if condition="$row>1">border-top-width: 1px; border-top-style: dotted;</vb:if> overflow: hidden; clear: both;">
<
div>
    <
div class="title">
        <
h3 style="font: normal normal bold 14px/normal Tahoma, Calibri, Verdana, Geneva, sans-serif; margin: 5px 0px 0px; text-decoration: none;">
        {
vb:raw thread.prefix_rich}
            <
a href="{vb:link thread, {vb:raw thread}}" id="thread_title_{vb:raw thread.realthreadid}" <vb:if condition="$show['gotonewpost']">style="font-weight:bolder"</vb:if>>
                <
span>{vb:raw thread.threadtitle}</span>
            </
a>
        </
h3>
    </
div>
    <
div style="color: #3E3E3E; display: block; font-size: 11px; padding-bottom: 2px; position: relative; top: 0px; width: 100%;">
        {
vb:phrase by_x_published_x, {vb:raw thread.postuserid}, {vb:raw thread.postusername}, {vb:raw post.date}}
    </
div>
    <
div class="content" style="padding-top: 10px;">
        <
vb:if condition="$thread['attachmentid'] && $thread['extension']">
        <
div style="float: {vb:stylevar left}; padding-right: 5px; padding-bottom: 4px; {vb:raw thumbdivstyle}">
            <
a href="{vb:link thread, {vb:raw thread}}">
                <
img src="attachment.php?attachmentid={vb:raw thread.attachmentid}&amp;stc=1&amp;thumb=1" alt="" border="0" />
            </
a>
        </
div>
        </
vb:if>
        <
vb:if condition="$thread['altimage'] && $thread['image']">
        <
div style="float: {vb:stylevar left}; padding-right: 5px; padding-bottom: 4px; max-width: 100px; max-height: 100px; overflow: hidden; {vb:raw thumbdivstyle}">
            <
a href="{vb:link thread, {vb:raw thread}}">
                <
img src="{vb:raw thread.image}" alt="" border="0" style="max-width: 100px; max-height: 100px;  width: expression(this.width > 100 ? 100: true);" />
            </
a>
        </
div>
        </
vb:if>
        <
vb:if condition="$vboptions['af_threadpreview'] != 0">{vb:raw thread.preview}</vb:if>
    </
div>
    <
div style="clear: both;display: block;float: {vb:stylevar left};margin-bottom: 5px;padding: 0px;position: relative;width: 100%;">
        <
span class="readmore" style="clear: left;float: right;font-weight: bold;text-align: right;width: 50%;">
            <
a href="{vb:link thread, {vb:raw thread}}">
            {
vb:phrase article_read_more}
            <
img src="{vb:stylevar imgdir_cms}/read_more-{vb:stylevar right}.png" alt="{vb:phrase article_read_more}" title="{vb:phrase article_read_more}" style="position: relative; top: 2px;" />
            </
a>
        </
span>
        <
span class="commentnumber">
            <
a href="{vb:link thread, {vb:raw thread}}#comments">
            <
img src="{vb:stylevar imgdir_button}/firstnew-comment.png" alt="" class="inlineimg" style="position: relative; top: 2px;" />
            </
a>
            <
a href="{vb:link thread, {vb:raw thread}}#comments">
            {
vb:phrase x_article_replies, {vb:raw thread.replycount}}
            </
a>
        </
span>
    </
div>
</
div>
</
div

For the category block...look through the af_articles template. It's in there.

Emeralda 03-06-2012 12:50 PM

Could this be set so it would work as the forum's front page? As in, it would load first as if it was a homepage?

Preech 03-06-2012 02:05 PM

What I did with a older site, was hide the forum tab completely.
I don't see why you couldn't do some changes to make it that way.

BMR 03-07-2012 03:58 AM

Just a quick question as I've had issues with Users Getting A Error Message when trying to post larger Articles as they've had to split them into 2 parts.

Is there a maximum characters setting I'm missing somewhere.

Volvoholic 03-08-2012 07:29 AM

Quote:

Originally Posted by Phrost (Post 2294000)
Any idea how to get rid of this blank column (highlighted in red)


Edit af_articles and find <td nowrap="nowrap" style="vertical-align: top; padding-right: 10px;">{vb:raw a_left}</td> and delete it.

Volvoholic 03-08-2012 07:30 AM

Quote:

Originally Posted by Preech (Post 2306392)
Replace your af_articlebit with this.
PHP Code:

<div style="padding:0px 0px 0px 0px;<vb:if condition="$row>1">border-top-width: 1px; border-top-style: dotted;</vb:if> overflow: hidden; clear: both;">
<
div>
    <
div class="title">
        <
h3 style="font: normal normal bold 14px/normal Tahoma, Calibri, Verdana, Geneva, sans-serif; margin: 5px 0px 0px; text-decoration: none;">
        {
vb:raw thread.prefix_rich}
            <
a href="{vb:link thread, {vb:raw thread}}" id="thread_title_{vb:raw thread.realthreadid}" <vb:if condition="$show['gotonewpost']">style="font-weight:bolder"</vb:if>>
                <
span>{vb:raw thread.threadtitle}</span>
            </
a>
        </
h3>
    </
div>
    <
div style="color: #3E3E3E; display: block; font-size: 11px; padding-bottom: 2px; position: relative; top: 0px; width: 100%;">
        {
vb:phrase by_x_published_x, {vb:raw thread.postuserid}, {vb:raw thread.postusername}, {vb:raw post.date}}
    </
div>
    <
div class="content" style="padding-top: 10px;">
        <
vb:if condition="$thread['attachmentid'] && $thread['extension']">
        <
div style="float: {vb:stylevar left}; padding-right: 5px; padding-bottom: 4px; {vb:raw thumbdivstyle}">
            <
a href="{vb:link thread, {vb:raw thread}}">
                <
img src="attachment.php?attachmentid={vb:raw thread.attachmentid}&amp;stc=1&amp;thumb=1" alt="" border="0" />
            </
a>
        </
div>
        </
vb:if>
        <
vb:if condition="$thread['altimage'] && $thread['image']">
        <
div style="float: {vb:stylevar left}; padding-right: 5px; padding-bottom: 4px; max-width: 100px; max-height: 100px; overflow: hidden; {vb:raw thumbdivstyle}">
            <
a href="{vb:link thread, {vb:raw thread}}">
                <
img src="{vb:raw thread.image}" alt="" border="0" style="max-width: 100px; max-height: 100px;  width: expression(this.width > 100 ? 100: true);" />
            </
a>
        </
div>
        </
vb:if>
        <
vb:if condition="$vboptions['af_threadpreview'] != 0">{vb:raw thread.preview}</vb:if>
    </
div>
    <
div style="clear: both;display: block;float: {vb:stylevar left};margin-bottom: 5px;padding: 0px;position: relative;width: 100%;">
        <
span class="readmore" style="clear: left;float: right;font-weight: bold;text-align: right;width: 50%;">
            <
a href="{vb:link thread, {vb:raw thread}}">
            {
vb:phrase article_read_more}
            <
img src="{vb:stylevar imgdir_cms}/read_more-{vb:stylevar right}.png" alt="{vb:phrase article_read_more}" title="{vb:phrase article_read_more}" style="position: relative; top: 2px;" />
            </
a>
        </
span>
        <
span class="commentnumber">
            <
a href="{vb:link thread, {vb:raw thread}}#comments">
            <
img src="{vb:stylevar imgdir_button}/firstnew-comment.png" alt="" class="inlineimg" style="position: relative; top: 2px;" />
            </
a>
            <
a href="{vb:link thread, {vb:raw thread}}#comments">
            {
vb:phrase x_article_replies, {vb:raw thread.replycount}}
            </
a>
        </
span>
    </
div>
</
div>
</
div

For the category block...look through the af_articles template. It's in there.


Thanks very much, I found it and it worked.

vBNinja 04-04-2012 07:29 PM

How can i increase the preview length? I tried changing it from -1 to 1, 2, 10, -5, -10 and all i get is no preview or it shortens to 1 letter :(

Any help is appreciated, thank you

BeeMuzza 04-25-2012 01:11 PM

How do you add a thumbnail to a article?

Preech 04-28-2012 11:07 AM

Scroll down and click manage attachments.

Killhunter 05-18-2012 08:36 PM

Code:

Datenbankfehler in vBulletin 4.0.3:

Invalid SQL:

                SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1334698432 AND open <> 10, 1, 0)) AS newthread
                FROM vbthread AS thread
                WHERE forumid IN(  )
                AND thread.visible = 1;

MySQL-Fehler  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
                AND thread.visible = 1' at line 3


gremrock 05-24-2012 10:08 AM

1 Attachment(s)
Is it possible you can update this mod, in order to have more forums using the articles, rather that being restricted to only one and it's subcategory?

Kind Regards

Athena1984 05-25-2012 10:04 PM

Works great in 4.1.12 but, when saving css as files it messes up the appearance of the form on the bottom.

gnrx 06-05-2012 12:02 AM

How configure the new option for tab in vb 4.2.0?
For example, how configure the line to script in the new option for tab?

Thanks and regards.

PD: Sorry for my english.

Athena1984 06-05-2012 12:42 AM

THIS_SCRIPT would be articles

gnrx 06-05-2012 01:09 AM

Only "THIS_SCRIPT" ?

Athena1984 06-05-2012 01:27 AM

Yeah, the this script value is articles, the target url for the tab would be articles.php{session.sessionurl_q} and of course the product from the drop down would be Article Forums.

gnrx 06-05-2012 08:34 PM

1 Attachment(s)
Its correct this screen?:

Athena1984 06-05-2012 10:44 PM

I don't understand Spanish but, it looks like where you put THIS_SCRIPT, I think you should put articles.

gnrx 06-05-2012 11:15 PM

1 Attachment(s)
Thanks Athena for your reply.

I attach a image in english.

Athena1984 06-06-2012 01:18 AM

Ok, yeah, where you put "THIS_SCRIPT" put "articles". It should work then.

gnrx 06-06-2012 11:05 PM

Thank you Athena :)

wisemasterchief 06-07-2012 12:32 PM

1 Attachment(s)
I am having CSS formatting problem. Please advise.

regards,
William

Preech 06-08-2012 03:08 AM

It's because of the article postbit. If you don't use it, it will be fine.

wisemasterchief 06-08-2012 10:44 AM

Quote:

Originally Posted by Preech (Post 2337640)
It's because of the article postbit. If you don't use it, it will be fine.

how to correct the problem????

wisemasterchief 06-08-2012 02:24 PM

1 Attachment(s)
updated XML to remove redundant images that are already provided via vBulletin CSS

Preech 06-10-2012 01:09 PM

Good job Master Chief.

Kirk Fitzgerald 06-28-2012 12:30 AM

Can anyone tell me if this is working properly in 4.2 please?

Kirk Fitzgerald 06-28-2012 06:29 AM

Answered my own question really, am testing on localhost and seems to be working extremely well for my needs on 4.2. :)

ProFifaLeagues 06-28-2012 10:34 AM

Yeah Happy working for us on 4.2

gremrock 07-01-2012 06:28 PM

It's a great product but limited only to one catagory

nukinfuts29 08-04-2012 06:34 AM

Been using this for a while, it is the best addition to my website.

Question: How can I add a facebook share button to each article? That way users can click it and post it to their wall

ProFifaLeagues 08-04-2012 11:26 PM

Quote:

Originally Posted by gremrock (Post 2344330)
It's a great product but limited only to one catagory


You can add as many categorizes as needed mate just check the info in settings

donwon 08-06-2012 04:06 PM

Love this thank you so much!

wildheart 08-21-2012 09:34 AM

Working great on my site, thank you very much, 4.2

Is it possible that only a thumbnail of the image are used on the front page instead of the full size image that are found in the article?

bigdamouk 09-08-2012 12:17 PM

Excellent Mod - perfect for what I want for my site.

How would I go about replacing the category listings with ICONS, instead of text - is this possible. I'm assuming this would need some PHP editing?


All times are GMT. The time now is 12:18 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.01808 seconds
  • Memory Usage 1,882KB
  • 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_code_printable
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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