Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Article Gallery
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #171
RE: Article Gallery
It should be similar to the latest threads thingy.
Try this (attached). Edit the mnxt_latest_articles and/or mnxt_latest_articles_article templates to change the layout. By default, it loads the article categories. Just modify it if your article gallery doesn't use category. Put {$mnxt_latest_articles} variable manually in your index template.

Edit these lines as your needs:

PHP Code:
68
69
$fid = 27;// Articles Gallery Forum ID
$limit = 5;// How many latest articles should be displayed



Attached File(s)
.php  mnxt_latest_articles.php (Size: 4.24 KB / Downloads: 408)

(This post was last modified: 09-04-2012 04:05 AM by RateU.)
09-04-2012 03:57 AM
Find all posts by this user Quote this message in a reply
Gstone Offline
Member
***
Posts: 55
Joined: May 2012
Post: #172
RE: Article Gallery
thank you very much, i'll try this as soon as I can.

EDIT: yup, perfect.
(This post was last modified: 09-04-2012 12:43 PM by Gstone.)
09-04-2012 08:21 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #173
RE: Article Gallery
Update:
Use Settings Overrides for the Post Per Page and Force Postbit Layout settings in create/edit forum settings:
  • Settings Overrides:
    • Setting: Showthread Options -> Post Per Page:
      Value: 4
      Modify it as our needs.
    • Setting: Showthread Options -> Post Layout
      Value: horizontal

      Code:
      postsperpage=4
      postlayout=horizontal


10-08-2012 02:12 AM
Find all posts by this user Quote this message in a reply
Gstone Offline
Member
***
Posts: 55
Joined: May 2012
Post: #174
RE: Article Gallery
Is there any way to use the variables (or similar) on the threadlist: {$post['postdate']} {$post['posttime']}

would like to let people know when the article was posted, similar to other websites.
02-16-2013 04:03 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #175
RE: Article Gallery
XThreads provides us with {$thread['threaddate']} and {$thread['threadtime']} variables for that.

02-17-2013 12:58 AM
Find all posts by this user Quote this message in a reply
Gstone Offline
Member
***
Posts: 55
Joined: May 2012
Post: #176
RE: Article Gallery
Thanks!
02-17-2013 03:25 AM
Find all posts by this user Quote this message in a reply
iHydra Offline
Junior Member
**
Posts: 7
Joined: Mar 2012
Post: #177
RE: Article Gallery
Is it possible to make this it's own php file?

I.E. http://www.google.com/news.php ?
06-29-2013 03:11 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #178
RE: Article Gallery
Maybe this thread can help you:
http://mybbhacks.zingaburga.com/showthread.php?tid=346

06-30-2013 01:20 AM
Find all posts by this user Quote this message in a reply
iHydra Offline
Junior Member
**
Posts: 7
Joined: Mar 2012
Post: #179
RE: Article Gallery
(06-30-2013 01:20 AM)RateU Wrote:  Maybe this thread can help you:
http://mybbhacks.zingaburga.com/showthread.php?tid=346

How can I hide the forum from the forumdisplay but still have it active through the new "page"?

I tried active but says Invalid Forum.
06-30-2013 02:03 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #180
RE: Article Gallery
There is a "Hide Forum" setting when you edit the forum...

My Blog
06-30-2013 06:36 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: