Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Article Gallery
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #61
RE: Article Gallery
(12-09-2010 08:10 AM)RateU Wrote:  If you want to do that in postbit, I think it is better to use a dropdown menu for that?

Interesting Idea!  I could make 1 drop down for all my postbit links!

[Image: gallery_2_628_39582.jpg]
12-09-2010 09:10 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #62
RE: Article Gallery
Question:  How can I make the category selection that defaults to no selection so if a member doesn't select a category, an error will result?  My members are having a hard time remembering to select the proper category and it is defaulting to the very first one every time.

Nevermind...LOL!  I think it does work this way.  my members are just choosing the wrong categories.   I'll have to think of something else to correct this.

[Image: gallery_2_628_39582.jpg]
(This post was last modified: 12-14-2010 03:30 AM by RocketFoot.)
12-14-2010 03:23 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #63
RE: Article Gallery
What custom thread fields you are using for the category?

12-14-2010 03:35 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #64
RE: Article Gallery
I'm using check boxes for category selection in the category thread field.

[Image: gallery_2_628_39582.jpg]
12-14-2010 04:02 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #65
RE: Article Gallery
(12-14-2010 03:23 AM)RocketFoot Wrote:  Nevermind...LOL!  I think it does work this way.

I think it already solved?
I'm sorry, I didn't read that edit part before I post my reply above Biggrin

12-14-2010 04:16 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #66
RE: Article Gallery
Yeah, we got that pretty much handled!  LOL...

Now, for a good one!  I just had a member post a really great article with lots of images but the images are not resizing from the "Fit To Page" plugin that I am using, thus breaking the margins of the page.  Is there anyway to add the resizing to the article gallery?  Take a look at the article to see what I mean.  

http://www.7173mustangs.com/thread-how-t...http://www.7173mustangs.com/thread-how-to-rebuild-a-f

All my other pages automatically resize images to prevent them from running off the margins.

ETA:  Here is a post from G33K on how to add the script to other pages, but I can't figure out where to add it to make it work!

http://community.mybb.com/thread-53553-p...http://community.mybb.com/thread-53553-post-582651.html

[Image: gallery_2_628_39582.jpg]
(This post was last modified: 12-14-2010 10:21 PM by RocketFoot.)
12-14-2010 09:33 PM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #67
RE: Article Gallery
Top of the showthread template for that forum?


[Image: leelink.gif]
MYBB1.6 & XThreads
12-15-2010 01:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #68
RE: Article Gallery
(12-15-2010 01:08 AM)leefish Wrote:  Top of the showthread template for that forum?

I tried inserting the code there but it doesn't work...I might need a new template or something to accomplish this??

This is my atcgal_showthread template as it sits right now...the fitonpage script is inserted but not working:

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1400"></script>

<script type="text/javascript" src="jscripts/fitonpage.js?ver=230"></script>
<script type="text/javascript">
<!--
    var fitonpage_on = "{$mybb->settings['g33k_fitonpage_enabled']}";
    var fitonpage_resize = "{$mybb->settings['g33k_fitonpage_resize']}";
    var fitonpage_fluid = "{$mybb->settings['g33k_fitonpage_fluid']}";
    var fitonpage_topbar_resized = "{$lang->fitonpage_topbar_resized}";
    var fitonpage_topbar_full = "{$lang->fitonpage_topbar_full}";
    var fitonpage_topbar_text_class = "{$mybb->settings['g33k_fitonpage_topbar_text_class']}";
    var fitonpage_topbar_bground = "{$mybb->settings['g33k_fitonpage_topbar_bground']}";
    var fitonpage_topbar_icon = "{$mybb->settings['g33k_fitonpage_topbar_icon']}";
    var fitonpage_location = "showthread";
-->
</script>

</head>
<body>
{$header}
{$pollbox}
<div class="float_right">
{$newreply}
</div>
{$ratethread}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%" style="clear: both; border-bottom-width: 0;">
	<tr>
		<td width="75%" valign="top">
			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
				<tr>
					<td class="thead" colspan="2">
						<div style="float: right;">
							<span class="smalltext"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
						</div>
						<div>
							<strong>{$thread['subject']}</strong>
						</div>
					</td>
				</tr>
				{$classic_header}
			</table>
			<div>
				{$first_post}
			</div>
			<div align="center">
				<strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
			</div>
		</td>
		<td valign="top">
			{$search_thread}
			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="border-bottom-width: 0;">
				<tr>
					<td class="thead">
						<div><strong>Comments</strong></div>
					</td>
				</tr>
			</table>
			<div id="posts">
				{$posts}
			</div>
			<div class="float_right">
				{$multipage}
			</div>
		</td>
	</tr>
</table>
<br style="clear: both;" />
{$threadexbox}
{$similarthreads}
{$quickreply}
<br />
<div class="float_left">
	<ul class="thread_tools">
		<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
		<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
		<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
	</ul>
</div>
<div class="float_right" style="text-align: right;">
	{$moderationoptions}
	{$forumjump}
</div>
<br style="clear: both;" />
{$footer}
</body>
</html>


[Image: gallery_2_628_39582.jpg]
(This post was last modified: 12-15-2010 01:33 AM by RocketFoot.)
12-15-2010 01:28 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #69
RE: Article Gallery
Hmm, what about if you put the template prefix in front of Showthread?

    var fitonpage_location = "PREFIX_showthread";


[Image: leelink.gif]
MYBB1.6 & XThreads
12-15-2010 01:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #70
RE: Article Gallery
I tried that also...
atcgal_showthread

But still no worky!  I'm am completely stumped!  LOL  It should work but it doesn't.  I even cleared my caches several times and nothing.

[Image: gallery_2_628_39582.jpg]
12-15-2010 01:42 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: