The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Add content to Forum

View previous topic View next topic Go down

Add content to Forum

Post by Sir. Mayo on August 19th 2013, 5:37 pm

how can i add more content here? (see the pic i want to add more content where it says here)

Forum type is phbb2

Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Re: Add content to Forum

Post by Ange Tuteur on August 19th 2013, 11:02 pm

Hi Sir. Mayo,

I believe you can add more to the template here:
Admin Panel > Display > Templates > General

Open the template called index_box and find this portion:
Code:
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
 <tr>
 <td valign="bottom">
 <!-- BEGIN switch_user_logged_in -->
 <span class="gensmall">{LAST_VISIT_DATE}<br />
 {CURRENT_TIME}<br />
 </span>
 <!-- END switch_user_logged_in -->
 <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
 </td>
 <td class="gensmall" align="right" valign="bottom">
 <!-- BEGIN switch_user_logged_in -->
 <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
 <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
 <!-- END switch_user_logged_in -->
 <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
 </td>
 </tr>
</table>
It should be directly at the top of the template, you can then add on to the table or stylize it if you like. From where you have 'here' you should place your content above/before the variable '{LAST_VISIT_DATE}'.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Re: Add content to Forum

Post by Ange Tuteur on August 20th 2013, 11:02 am

anupkumar wrote:How do I attach my Blog into this forum?
You should open your own topic regarding your question, make sure you're detailed with your question so we can help you.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Re: Add content to Forum

Post by Sir. Mayo on August 20th 2013, 3:43 pm

Can i add stuff like the user post count and the Forum post count there?

Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Re: Add content to Forum

Post by Ange Tuteur on August 20th 2013, 7:30 pm

I am not sure as I have not used those variables in the index_box template. If I'm correct I believe they may not work.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Re: Add content to Forum

Post by Sir. Mayo on August 20th 2013, 10:34 pm

any one know if i can??

Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Re: Add content to Forum

Post by Sir. Mayo on August 20th 2013, 10:35 pm

Any one know if this can be done?

Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Re: Add content to Forum

Post by Ikerepc on August 20th 2013, 11:49 pm

I think you can use "normall" forum variables. You can find that in Admin panel -> General -> forum -> Configuration. Then you will see down of Forum name "Decipton*" click on *, and you will see variables.

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

Re: Add content to Forum

Post by Ange Tuteur on August 20th 2013, 11:50 pm

@Sir. Mayo wrote:Any one know if this can be done?
I tested the variables you mentioned in my test forum template however, they did not show up. So I suppose they do not work in the templates?

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Re: Add content to Forum

Post by Ikerepc on August 21st 2013, 12:10 am

You can try. You can't lose anything. You can try some of that variables, when you edit template click on save, and than on + to add template.

It can be work. If not just click on x.

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

Re: Add content to Forum

Post by Sir. Mayo on August 21st 2013, 12:28 am

I know and i know i can remove templates but why does the last post works and nothing else?? i need a staff members explnation no offence to any on your post were really helpful! Very Happy

Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Re: Add content to Forum

Post by Ikerepc on August 21st 2013, 12:41 am

@Sir. Mayo wrote:I know and i know i can remove templates but why does the last post works and nothing else?? i need a staff members explnation no offence to any on your post were really helpful! Very Happy
click on x delete templare. Try if are all work. If not, tell us, if yes, work next:

Now in your templare (don't using this on forum) add that variables.
And try than are all work.

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

Re: Add content to Forum

Post by Sir Chivas™ on August 21st 2013, 1:15 am

@Sir. Mayo wrote:any one know if i can??
@Sir. Mayo wrote:Any one know if this can be done?

Hi, please be aware that this is your second reminder:

Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!



As said above:
SethC1995 wrote:Open the template called index_box and find this portion:
Code:
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
 <tr>
 <td valign="bottom">
 <!-- BEGIN switch_user_logged_in -->
 <span class="gensmall">{LAST_VISIT_DATE}<br />
 {CURRENT_TIME}<br />
 </span>
 <!-- END switch_user_logged_in -->
 <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
 </td>
 <td class="gensmall" align="right" valign="bottom">
 <!-- BEGIN switch_user_logged_in -->
 <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
 <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
 <!-- END switch_user_logged_in -->
 <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
 </td>
 </tr>
</table>
It should be directly at the top of the template, you can then add on to the table or stylize it if you like. From where you have 'here' you should place your content above/before the variable '{LAST_VISIT_DATE}'.

Add this code"
Code:
<script type="text/javascript" src="http://tinyurl.com/var-fa"></script>
 
<div id="stats">                  
<div style="text-align: center; margin-bottom: 10px;">
  
<span class="square">
<span class="FORUMCOUNTOPIC"></span></span> Total Topics  
  
<span class="square">
<span class="FORUMCOUNTPOST"></span></span> Total Posts  
  
<span class="square">
<span class="FORUMCOUNTUSER"></span></span> Total Members  
 
<span class="square">
<span class="FORUMLASTUSERLINK"></span></span> Newest Member  
 
</div>                  
</div>

Now add this into your CSS:
Code:
.square {
background: #C0B9B9;
border: 1px solid #0E0D0D;
font-weight: 700;
margin-left: 20px;
padding: 4px 10px;
}
This are the following ones that you can use:
List Of variables:
FORUMURL
FORUMURLINK
FORUMNAME
FORUMNAMELINK
FORUMDESC
FORUMBIRTHDAY
FORUMAGE
FORUMCOUNTFORUM
FORUMCOUNTOPIC
FORUMCOUNTPOST
FORUMCOUNTUSER
FORUMONLINEUSER
FORUMONLINEDATE
FORUMLASTUSER
FORUMLASTUSERLINK
USERNAME
USERLINK
USERBIRTHDAY
USERAGE
USERREGDATE
USERLASTVISIT
USERCOUNTPOST

Note: If you're adding more, make sure to add them like this:
Code:
<span class="square">
<span class="CodeHereFromListAbove"></span></span> Title Here

Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum