Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [split] Coding Question
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #1
[split] Coding Question
I am trying to make an xthreads forum where I can utilise the myBb attachment functionality so I can have banner headers on my forum using images pulled from the threads. I can't work out how to make the x threads attachments do it on forum display. If I try and do it on forumdisplay threadlist then I cannot get it to work. So I tried forumdisplay - no luck.

Anyway, I have discovered that by adding the forum prefix to default template copies of postbit_attachments and post_attachments I can rewrite the text and things in the attachment uploads box and exclude the attachment from showing in the main post. However, I want to restrict the attachments to only images and the KB size to 30kb, but ONLY in that one forum. Is there any way to do this? Code edits are ok I guess, as long as I can use the full attachments functionality elsewhere on other forums on my board.

Later Edit: I have been doing some more checks and I now see that if a user (member or guest) uses the post reply or preview posts buttons in this forum then they also have the option to upload attachments.

This is not really good, as the replies are to work as comments and the first post to be the only one with the rights to upload (see requirement for attaching images via myBB above). Any sugggestions on how to make this option to attach ONLY show on the first post and not on the replies?


[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 06-05-2010 09:18 AM by leefish.)
06-05-2010 05:40 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
[split] Coding Question - leefish - 06-05-2010 05:40 AM
RE: [split] Coding Question - ZiNgA BuRgA - 06-05-2010, 09:14 AM
RE: [split] Coding Question - leefish - 06-05-2010, 09:35 AM
RE: [split] Coding Question - ZiNgA BuRgA - 06-05-2010, 10:20 AM
RE: [split] Coding Question - RateU - 06-05-2010, 10:27 AM
RE: [split] Coding Question - leefish - 06-05-2010, 10:15 PM
RE: [split] Coding Question - leefish - 06-05-2010, 10:53 PM
RE: [split] Coding Question - leefish - 06-06-2010, 01:09 AM
RE: [split] Coding Question - RateU - 06-06-2010, 07:26 AM
RE: [split] Coding Question - leefish - 06-06-2010, 07:34 AM
RE: [split] Coding Question - RateU - 06-06-2010, 10:19 AM
RE: [split] Coding Question - leefish - 06-06-2010, 10:51 AM
RE: [split] Coding Question - walkman - 06-06-2010, 11:24 AM
RE: [split] Coding Question - RateU - 06-06-2010, 11:27 AM
RE: [split] Coding Question - leefish - 06-06-2010, 11:41 AM

 Standard Tools
Forum Jump: