News:

Wondering if this will always be free?  See why free is better.

Main Menu

Help about some more features on my forum

Started by nightyyx, August 15, 2010, 05:32:06 PM

Previous topic - Next topic

nightyyx

Hello again,
I still have alot questions and need help with some 3-4 simple things.

First of all,i am using SMF 2.0 RC3 and i want
1) to add a option when someone looks a profile of a user to can press "show topics opened from this user" like the show posts...It was a mod on the old version 1 of smf but now i think isnt updated anymore.
Someone know how can add it?it is a already feature on smf 2 rc3?but i could find it a t settings as now.

2) I want as admin to dont have the classicals tittles that you gets per a specific number of  posts.I mean not saying under my nickcname "newbie" as i have only 50 posts. But choosing my own tittle or not a tittle anyway.

3)I want to add at boards topics the feature to can see the online/offline status of a user.
for example see the screenshoot.
first screenshoot as i want to make it.
second screenshoot my forum as it is now :)

CapadY

1) It's default SMF2RC3, goto the specific profile, chose "Profile Info" - "Show Posts" - "Topics"

2) There is an option for it but I can't find it now

3) Admin - Configuration - Features and Options - Layout,   enable "Show online/offline in posts and PMs"
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

nightyyx

Quote from: capady on August 15, 2010, 06:58:05 PM
1) It's default SMF2RC3, goto the specific profile, chose "Profile Info" - "Show Posts" - "Topics"

2) There is an option for it but I can't find it now

3) Admin - Configuration - Features and Options - Layout,   enable "Show online/offline in posts and PMs"



1)ah i hadnt see it but i want to have the option "show topics" in the profile page under "show posts"
in the place that i have the screenshoot. Not so big deal if it isnt possible but i was a bit curious.

3)cool i just checked it.In profile tabs have the green light if the user is online and says online but on the board posts have only the green light witout saying offline.
can i set it? check second screen about what i mean:)

thanks alot:)

if you find the ansewer in 2) you or someone else i ll be glad.:)


CapadY

1)  When you choose "show topics" in the profile page there will apear a submenu to choose posts or topics.

2) I'll try to use the search option on this forum later.

3) Possible but you'll have to make some edits in the script.
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

nightyyx

thanks alot:)
about 3) so i have to make a mod request or?

CapadY

Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

CapadY

3) You can do a MOD-request, you can do it yourself, you can have a look at Tips and Tricks, may it is still there  and you can place a request at Help, not for support.
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Adish - (F.L.A.M.E.R)

I don't understand your third request, do you want to show the green icon for online all the time and use it for both online and offline?

CapadY

Quote from: (F.L.A.M.E.R) on August 16, 2010, 10:53:41 AM
I don't understand your third request, do you want to show the green icon for online all the time and use it for both online and offline?
When I understand it well he want the online/ofline text been shown near the button
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Road Rash Jr.

Quote from: nightyyx on August 15, 2010, 05:32:06 PM
Hello again,
I still have alot questions and need help with some 3-4 simple things.

First of all,i am using SMF 2.0 RC3 and i want

2) I want as admin to dont have the classicals tittles that you gets per a specific number of  posts.I mean not saying under my nickcname "newbie" as i have only 50 posts. But choosing my own tittle or not a tittle anyway.


Go to Admin - Members - Membersgroup - Edit Membersgroup, click on modify for each of the classes and you can change the names to the ones you want.
Never argue with an Idiot like myself, they just drag you down to their level then beat you with experience.

Adish - (F.L.A.M.E.R)

oh! I get it now. I am sure I had seen something regarding it. I'll try and find it out. Thanks capady for your explanation. :)

Adish - (F.L.A.M.E.R)

Give this a shot: In your Display.template.php
Find:

// Show online and offline buttons?
if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest'])
echo '
', $context['can_send_pm'] ? '<a href="' . $message['member']['online']['href'] . '" title="' . $message['member']['online']['label'] . '">' : '', $settings['use_image_buttons'] ? '<img src="' . $message['member']['online']['image_href'] . '" alt="' . $message['member']['online']['text'] . '" border="0" style="margin-top: 2px;" />' : $message['member']['online']['text'], $context['can_send_pm'] ? '</a>' : '', $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $message['member']['online']['text'] . '</span>' : '', '<br /><br />';


Replace with:

// Show online and offline buttons?
if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest'])
echo '
', $context['can_send_pm'] ? '<a href="' . $message['member']['online']['href'] . '" title="' . $message['member']['online']['label'] . '">' : '', '<img src="', $message['member']['online']['image_href'], '" alt="', $message['member']['online']['text'], '" />', $context['can_send_pm'] ? '</a>' : '';


I have not tested it, but it should work.

nightyyx

Quote from: capady on August 16, 2010, 10:46:42 AM
2) Please see As an administrator,  can I hide my "newbie" status?


thanks alot m8:)
worked as now great.

(F.L.A.M.E.R)
can you explain me where is Display.template.php? so i can go and modify it? couldnt find it from admin panel at themes settings.


CapadY

You'll find it using your FTP program at /themes/default/display.template.php.
So, download it using FTP to your local machine, make the edits and upload it again to your forum.
DON'T FORGET TO MAKE/KEEP A BACKUP OF THE ORIGINAL FILE

AFter that clear your forum cache to be sure to remove the old file via Admin - Maintenance - Forum Maintenance - Routine running the last option.

I'm not sure if it is possible to make this changes via the Admin-Panel, but if, you shouldn't want to.
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

nightyyx

thanks
but did it exactly like that and happened nothing.No change.

nightyyx

I want also to add at my forum in main portal ( i am using adkportal mod also) a catalogue.
I want a table that you can set and have a photo and title of 10 or 20 night clubs that eatch member of forum can click on the name of the club and write a critic.A describtion about how good place was.
You know if exists any mod or i have to find someone to write it from the start?

CapadY

Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Adish - (F.L.A.M.E.R)

@nightyyx
One thing at a time. Don't mix up all the things within one topic.

As about the online/offline code, are you using a custom theme? Can I have a link to your website please?

I'll give the code a test soon.

nightyyx

yes i am using a custom theme:)
ofcourse
i send you a pm with my site since contains some adult material:)

Adish - (F.L.A.M.E.R)

Finally, I got it tested.

Find:
// Show information about the poster of this message.
echo '
<div class="poster">
<h4>';

// Show online and offline buttons?
if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest'])
echo '
', $context['can_send_pm'] ? '<a href="' . $message['member']['online']['href'] . '" title="' . $message['member']['online']['label'] . '">' : '', '<img src="', $message['member']['online']['image_href'], '" alt="', $message['member']['online']['text'], '" />', $context['can_send_pm'] ? '</a>' : '';

// Show a link to the member's profile.
echo '
', $message['member']['link'], '
</h4>
<ul class="reset smalltext" id="msg_', $message['id'], '_extra_info">';


Replace with:
// Show information about the poster of this message.
echo '
<div class="poster">
<h4>';

// Show a link to the member's profile.
echo '
', $message['member']['link'], '
</h4>
<ul class="reset smalltext" id="msg_', $message['id'], '_extra_info">';

// Show online and offline buttons?
if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest'])
echo '
', $context['can_send_pm'] ? '<a href="' . $message['member']['online']['href'] . '" title="' . $message['member']['online']['label'] . '">' : '', $settings['use_image_buttons'] ? '<img src="' . $message['member']['online']['image_href'] . '" alt="' . $message['member']['online']['text'] . '" border="0" style="margin-top: 2px;" />' : $message['member']['online']['text'], $context['can_send_pm'] ? '</a>' : '', $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $message['member']['online']['text'] . '</span>' : '', '<br />';


This should be in: ./Themes/[Your Theme]/Display.template.php

nightyyx

thanks m8 worked so fine:)
/themes/default/display.template.php the path;)

Advertisement: