WebDigity Gangsta
Gender:
Posts: 105
57 credits Members referred : 0
« on: Jun 22, 2006, 02:08:59 PM »
I don't know if this is the right place to post. I post here because it's a newbie question. So the question is, does anybody knows how can i add/change the meta tags (description, keywords) of smf? The smf i use is 1.1rc2. I know that i must find a file like header.php to modify it but i didn't find it. Any help would be appreciated!
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 8272
42619 credits Members referred : 3
« Reply #1 on: Jun 22, 2006, 02:12:15 PM »
I use the previous version of SMF, but I guess there wont be so big changes.
Look at the /themes/your_theme_dir/index.template.php
There is a function that defines the header of the page. This is where you should add the <META> you want.
Now if you want to make this dynamic, you will also have to use the $context array to get portions of the page's content
WebDigity Gangsta
Gender:
Posts: 105
57 credits Members referred : 0
« Reply #5 on: Jun 22, 2006, 03:44:17 PM »
Nikolas, can you explain this a bit more? "Now if you want to make this dynamic, you will also have to use the $context array to get portions of the page's content". What will be the results and what do i have to do?
The olaf's idea is perfect. I think many people are using smf and it will be very helpfull! About you idea Nikolas, i would suggest to start a forum like "Forum scripts" and then make a subs with SMF, IPB, VBulletin etc... I think that is better because almost every people that have a site, also have a forum. So this way, it will be more helpfull for many people. That's my opinion...
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6487
39754 credits Members referred : 374
It's time to use PHP5!
« Reply #6 on: Jun 22, 2006, 03:48:36 PM »
Quote
Nikolas, i would suggest to start a forum like "Forum scripts" and then make a subs with SMF, IPB, VBulletin etc... I think that is better because almost every people that have a site, also have a forum. So this way, it will be more helpfull for many people. That's my opinion...
I do not agree, here at webdigity is some good knowledge about the SMF forum. I think it looks not good for new members if they have to wait to much time until they get a qualified answer about VBulletin for example...
WebDigity Gangsta
Gender:
Posts: 105
57 credits Members referred : 0
« Reply #7 on: Jun 22, 2006, 03:54:28 PM »
Some active members may be! I suggest to make a poll, to see what forum most people use and wich of those forum can be supported. I said that before because i thought it would be more helpfull!
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6487
39754 credits Members referred : 374
Some active members may be! I suggest to make a poll, to see what forum most people use and wich of those forum can be supported. I said that before because i thought it would be more helpfull!
I don't want to say that you're worng but it could be possible that this new forums will stay empty (no new threads)
I suggested to create a new "SMF" forum because the owner of this site is a "specialist" in this item...
WebDigity Gangsta
Gender:
Posts: 105
57 credits Members referred : 0
« Reply #9 on: Jun 22, 2006, 04:07:19 PM »
I understand what you say. And i agree with you. You can do something else. Make a forum under php or newbie or .... called "Forum Scripts". then make one sub called "Smf" or whatever you want, and let the members post question about any other forum under the sub. This way you will not leave an empty forum and you can let people post questions about other forum scripts. Then if you see that there are lots of topics about other forum scripts and you can help them, only then you can make other subs too. What i want to say is do say no to other forum scripts support from the beggining.
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6487
39754 credits Members referred : 374
It's time to use PHP5!
« Reply #10 on: Jun 22, 2006, 04:16:14 PM »
Quote
Then if you see that there are lots of topics about other forum scripts and you can help them, only then you can make other subs too.
this is a good one, adding a new forum for other forum scripts is there are enough postings...
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 8272
42619 credits Members referred : 3
« Reply #11 on: Jun 22, 2006, 04:30:19 PM »
About the forum thing, I guess we can start with an smf forum, as there is no knowledge about the other forum softwares (at least not yet)
Now regarding your first question xnontas, I was trying to say that in the $context array is kept all information regarding the page you are viewing. To understand that better go to your index.template.php file and add this inside of the main function :
WebDigity Gangsta
Gender:
Posts: 105
57 credits Members referred : 0
« Reply #12 on: Jun 22, 2006, 04:51:11 PM »
About the Smf forum, Nikolas, the final decision is yours. Personaly i prefer smf, because that's what i am using. About your last post, if you are talking about the meta tags, i want to tell you that i edited the index.template.php and i added what i wanted. If you are talking about anything else i am afraid that i didn't understand again... Forgive me i am that newbie...
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 8272
42619 credits Members referred : 3