Current time: 11-28-2024, 06:29 PM Hello There, Guest! (LoginRegister)


Announcement
We have the biggest collection of MyBB Plugins here on the Net. We have currently 175+ MyBB Exclusive Plugins, 80+ MyBB Compatible MyCodes and 16+ MyBB 1.4.x Themes (Some are still under construction...) Thus, we provide you the largest MyBB Stuff on the net including tutorials. Stay with us, you will find out some more to come.
Now you can easily create your own buttons set for MyBB! Click here to have a look...
*** You cannot do your registration behind any Proxies anymore! ***
Welcome Guest[18.191.129.241], connected from Columbus, Ohio United States
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Column
12-08-2009, 01:25 PM
Post: #1
New Column
I want to add a new column into forums like the image:
[Image: attachment.php?aid=16406]

Can anyone help me with the code and the location please?

I tried adding this code to the forumbit_depth1_cat but I messed up the threads and posts columns:
<td class="tcat" width="25" align="center" style="white-space:nowrap"><span class="smalltext"><strong>RSS</strong></span></td>

Thank you.
Find all posts by this user
Quote this message in a reply
12-08-2009, 01:39 PM
Post: #2
RE: New Column
After you add this where you want it to the forumbit_depth1_cat template, you must increase the widh as well. So this code:

<td class="thead" colspan="5">

Should be

<td class="thead" colspan="7">

However, you need the other part of the rss feed code to add it at the forum listing.

I will have to go now, but if you post the whole code, I will check it out for you tomorrow.

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-08-2009, 02:11 PM (This post was last modified: 12-08-2009 02:36 PM by skiilz.)
Post: #3
RE: New Column
I got it to work in the forum categories:
[attachment=40]

But look at the subforum:
[attachment=39]

How do I solve it?
How do I set the individual link for each forum rss?(is possible to set one "{$forum_url_rss}" parameter?)

TEMPLATES EDITED:

forumbit_depth2_cat:
<tr>
<td class="{$bgcolor}" align="center" valign="top"width="1">
<img src="{$theme['imgdir']}/{$lightbulb['folder']}.png" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}"class="ajax_mark_read" id="mark_read_{$forum['fid']}" />
</td>
<td class="{$bgcolor}" valign="center"
<img src="{$theme['imgdir']}/icon/{$forum['fid']}.png" />
</td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$subforums}
</div>
</td>
<td class="{$bgcolor}" valign="top" align="center"style="white-space:nowrap"><img src="images/post-rss.png" />
</td>
<td class="{$bgcolor}" valign="top" align="center"style="white-space:nowrap">{$threads}{$unapproved['unapproved_threads']}
</td>
<td class="{$bgcolor}" valign="top" align="center"style="white-space:nowrap">{$posts}{$unapproved['unapproved_posts']}
</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}
</td>
</tr>

forumbit_depth1_cat
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="8">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img"class="expander" alt="{$expaltext}" title="{$expaltext}"/></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br/><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat"></td>
<td class="tcat"></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="25" align="center" style="white-space:nowrap"><span class="smalltext"><strong>RSS</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space:nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space:nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />

forumbit_depth2_forum
<tr>

<td class="{$bgcolor}" align="center" valign="top"
width="1"><img
src="{$theme['imgdir']}/{$lightbulb['folder']}.png"
alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}"
class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>

<td class="{$bgcolor}" valign="center" width="50px">

<img src="{$theme['imgdir']}/icon/{$forum['fid']}.png"&nbsp;&nbsp;alt=""&nbsp;&nbsp;/>

</td>

<td class="{$bgcolor}" valign="top">

<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>

</td>
<td class="{$bgcolor}" valign="top" align="center"style="white-space:nowrap"><img src="images/post-rss.png" />
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space:nowrap">{$threads}{$unapproved['unapproved_threads']}</td>

<td class="{$bgcolor}" valign="top" align="center" style="white-space:nowrap">{$posts}{$unapproved['unapproved_posts']}</td>

<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>

</tr>


Attached File(s) Thumbnail(s)
           

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-08-2009, 02:35 PM
Post: #4
RE: New Column
Is that from the default theme? This from the default theme modified with the rss feed.

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="8">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="25" align="center" style="white-space:nowrap"><span class="smalltext"><strong>RSS</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />

Then go to the forumbit_depth2_forum template:

<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">RSS feed content here</strong></td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>

This is the result.

What is the whole rss code btw?


Attached File(s) Thumbnail(s)
   

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-08-2009, 02:38 PM
Post: #5
RE: New Column
I don't know the whole rss code I just know that there is a page: http://www.forumsecurity.eu/misc.php?action=syndication
that you can select what forum you want...
http://www.forumsecurity.eu/showthread.p...197#pid197

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-08-2009, 02:42 PM
Post: #6
RE: New Column
I believe that it is quite another matter then. Personally I don't use it so I won''t be able to help you more with it. let us hope that someone at mybb knows more about rss feed and can help you further.

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-08-2009, 02:43 PM (This post was last modified: 12-08-2009 02:44 PM by skiilz.)
Post: #7
RE: New Column
Ok.Thank you.
Look at the subforum:
[Image: attachment.php?aid=39]

How do I solve it?

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-08-2009, 02:45 PM
Post: #8
RE: New Column
That would need some more template changes.

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-08-2009, 02:49 PM
Post: #9
RE: New Column
Ok. Can you just post something here: http://community.mybboard.net/thread-60916.html
Just to bump the thread and someone help me with the rss feed links.

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
12-08-2009, 03:06 PM (This post was last modified: 12-08-2009 03:07 PM by babjusi.)
Post: #10
RE: New Column
No need to bump that post. Here you go, go to the forumdisplay_subforums template and change the code in there with this:

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="8" align="center"><strong>{$lang->sub_forums_in}</strong></td>
</tr>
<tr>
<td class="tcat" width="2%">&nbsp;</td>
<td class="tcat" width="59%"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="25" align="center" style="white-space:nowrap"><span class="smalltext"><strong>RSS</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$forums}
</table>
<br />

babjusi's signature
Find all posts by this user
Quote this message in a reply
0 member(s) viewed this thread in the last 365 days :
Post Reply 


Was This Thread Useful ?
Please Link To Us
URL
BBCode
HTML

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Moderator column problem, please help. roger 7 1,877 07-29-2010 01:10 AM
Last Post: Miraj

Forum Jump:

 
New To Site ?
Some Useful Links
  • Help

  • You Might Need To Register

  • Forum Statistics

  • Mark All Forums Read

  • Forum Staff

  • Log Out
  • Contact Us

  • Mybbcodes

  • Return to Top

  • Return to Content

  • Lite (Archive) Mode

  • RSS Syndication
  • Powered By MyBB, © 2002-2024 MyBB Group.
    Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes.
    Hosting provided by WWWHostingServer.com