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)

Budweiser 06-19-2009 02:41 AM

Quote:

Originally Posted by EagleNick (Post 1830791)
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

Quote:

Originally Posted by asiaphoto (Post 1834187)
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:
PHP Code:

define('THIS_SCRIPT''articles'); 

After add:
PHP Code:

$forumpath '/home/site/public_html/forum';
chdir($forumpath); 

altering $forumpath to the correct forum path

bananalive 06-21-2009 05:55 PM

Quote:

Originally Posted by EagleNick (Post 1830791)
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:
HTML Code:

<td nowrap="nowrap" style="vertical-align: top;">$a_left</td>
Find
HTML Code:

<td nowrap="nowrap" style="vertical-align: top;">$a_right</td>
Replace with:
HTML Code:

<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

Quote:

Originally Posted by i-comers.com (Post 1830703)
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

Quote:

Originally Posted by bananalive (Post 1834215)
Find in articles.php:
PHP Code:

define('THIS_SCRIPT''articles'); 

After add:
PHP Code:

$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


All times are GMT. The time now is 02:28 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.02156 seconds
  • Memory Usage 1,756KB
  • 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
  • (3)bbcode_html_printable
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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