News:

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

Main Menu

Staff Page Mod

Started by SMFHacks.com Team, May 18, 2006, 06:53:57 PM

Previous topic - Next topic

The Cadet

I am not using the default theme. My default is Dark Night (http://www.simplemachines.org/community/index.php?topic=228617.20). I installed everything correctly, the package works (default/index.template.php). However, it does not show up in the theme I am using. It shows up in the ACP from the style, but not the navbar on the main page. What part of the manual installation do I need to do on said file? 'cause it can't find any kind of array on the index.template.php from that one.


EduardoP737

I cant see the link.

Where is it? Need I change my default theme? :S

jessicaanne010

I just installed this mod, it said it installed correctly, but I can't see it on the default theme or the one I'm using, which is just a variation of the default.

Suggestions?
Jessica

garybb

#504
I have just installed this mod and everything works fine but i do have one little problem.

I am running smf 1.1.7 & Tinyportal 0.9.8. I am also using a custom theme.



As you can see i dont get the pm icon.

Kosedragen

Hello there. I'm having a minor issue with the "staff configuration"-button in the admin-panel ^^; For I run a forum with two languages, Norwegian and English. I'd like to have the button added to the Norwegian one as well =/ Any idea how I shall do this?

garybb

Is there any support for this mod?

vbgamer45

Support is when we have free time. and is mostly member to member it sounds like a theme issue.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

garybb

Yeh i thought that aswell but it does the same with the default theme.

Its just the pm icon the rest is fine is there nothing i could try?

cheers.

Burke ♞ Knight

Right Mouse the link to Send PM. Click properties.
It should tell what image is supposed to be there, and where image should be located.
Go look where it says, and make sure the PM image is there.

garybb

Quote from: BurkeKnight on November 16, 2008, 07:41:43 PM
Right Mouse the link to Send PM. Click properties.
It should tell what image is supposed to be there, and where image should be located.
Go look where it says, and make sure the PM image is there.

ok here is what i get.

when i click on missing link and look at properties i get: test/index.php?action=pm;sa=send;u=4

The others images point to:  Themes/MysticJade01_tp/images/

So the pm image isn't pointing to the images folder !!!

Burke ♞ Knight

Ok, give me a link to the forum.

garybb


Burke ♞ Knight

#513
Now that I see more closely, and actually look at the staff page on my 1.1.7 site, I see that it was made just as a link, without image. However, it would be a quick fix.

I have a fix, however, it only shows the offline pm icon. It will not show as the member being online, as I can not get the normal code to work right on the staff page at this time. So here is the quick fix:

Themes/default/Staff.template.php

Find:
// Send PM row
echo '<a href="' . $scripturl . '?action=pm;sa=send;u=' . $row2['ID_MEMBER'] . '">' . $txt['smfstaff_sendpm'] . '</a>';


Replace with:
// Send PM row
echo '<a href="' . $scripturl . '?action=pm;sa=send;u=' . $row2['ID_MEMBER'] . '"><img src="' . $settings['images_url'] . '/im_off.gif" alt="' . $txt['smfstaff_sendpm'] . '" /></a>';


That should do, until vbgamer45 can make the Staff Page show online/offline links to PM'ing the members. :)

EDIT:

If a guest tries to PM, it will tell them to login, or register.

garybb

Thanks alot BurkeKnight works perfect.

Cheers.

Burke ♞ Knight

Not a problem. :)

I hope that when vbgamer45 has time to do so, that the online/offline pm feature will be added, as well as a version for 2.0 :)

Kosedragen

Once again I must ask you how I can add the staff-button in my Norwegian translation of SMF 1.1.7.

Attached image to show the error.

If someone told me how to fix it, I'm confident I could do it myself. Thanks.

Burke ♞ Knight

#517
You have to copy the staff page text from modifications.english.php to modifications.norwegian.php in order for the  correct text to appear.

Kosedragen

Thanks ^^ Worked like a charm.
However; I'd like to translate the text in the staff-list as well. Where do I do that? =/

Burke ♞ Knight

#519
Staff.english.php

If you make translations, you may wish to post them here, as the Mod Author may add them to the next update.

I said MAY, not positive. You'd have to ask him if he will. :)

Advertisement: