Advertisement:

Author Topic: [TIP/TRICK] Membergroup Images Instead of Name  (Read 71111 times)

Offline KensonPlays

  • SMF Hero
  • ******
  • Posts: 4,306
    • @Kenson_Plays on Twitter
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #20 on: October 28, 2011, 07:00:13 PM »
I've done this on my forum and I love the idea.

I've done this for Admin, Global Moderators, Moderators and Mentors on my site. 

The only issue is that when I go to change a member's primary member group, to make them a moderator, say, the drop down menu is blank (since there is not text and it won't show a picture) and you have to kind of guess where your moderator button might be.

The images do show beside the check buttons for the 'additional member group' area, though.  Go figure.
You have it like this, right?
Code: [Select]
<img src="path/to/image.jpg" />
Right?

Try this:
Code: [Select]
<img src="path/to/image.jpg" alt="Membergroup Name"/>

Offline WantSome

  • Jr. Member
  • **
  • Posts: 361
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #21 on: October 29, 2011, 11:51:49 AM »
Thanks for the tip, Kcmartz but it doesn't seem to change the drop down menu at all and it remains blank.

When I say blank, I mean I can still choose something.  I just doesn't tell me what I'm choosing.

Offline kingkingston

  • Full Member
  • ***
  • Posts: 650
  • Gender: Male
    • @ozzysportsforum on Twitter
    • aussiesportsforum.com
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #22 on: November 19, 2011, 12:31:45 PM »
well if you stuff it up, you can't re edit the link as i just found out, doesn't even show the edit  group link.

http://aussiesportsforum.com/index.php?action=admin;area=membergroups;sa=edit;group=18: Undefined index: group_inheritFile: /home/aussies2/public_html/Sources/ManageMembergroups.php


Offline kingkingston

  • Full Member
  • ***
  • Posts: 650
  • Gender: Male
    • @ozzysportsforum on Twitter
    • aussiesportsforum.com
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #23 on: December 02, 2011, 01:19:43 AM »
bump, can someone help me fix the above problem please :)

Offline kingkingston

  • Full Member
  • ***
  • Posts: 650
  • Gender: Male
    • @ozzysportsforum on Twitter
    • aussiesportsforum.com
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #24 on: December 13, 2011, 06:26:28 AM »
is there a fix for this anywhere ?

Offline WantSome

  • Jr. Member
  • **
  • Posts: 361
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #25 on: December 22, 2011, 04:11:56 PM »
You'll probably get more joy in the support forums, Kinkingston - I'd recommend starting a topic there instead.

Offline kingkingston

  • Full Member
  • ***
  • Posts: 650
  • Gender: Male
    • @ozzysportsforum on Twitter
    • aussiesportsforum.com
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #26 on: December 22, 2011, 10:11:43 PM »
You'll probably get more joy in the support forums, Kinkingston - I'd recommend starting a topic there instead.
got the problem fixed :)

Offline Sir Charles

  • Semi-Newbie
  • *
  • Posts: 31
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #27 on: December 30, 2011, 07:01:06 PM »
Good idea there, I have used the code to put images into descriptions before but never thought of this.

Offline ProHax

  • Semi-Newbie
  • *
  • Posts: 17
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #28 on: January 06, 2012, 01:22:30 AM »
how would you change the display name into an image?

Offline Pred@t0R

  • Newbie
  • *
  • Posts: 8
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #29 on: February 09, 2012, 06:21:35 PM »
For those that are wondering how to make a membergroup name an image instead of just boring old text, here you go.

Go to Admin -> Membergroups -> {Group} Modify -> Group Name

Then, do the following
Code: [Select]
<img src="http://www.url-to-image.com/image.jpg" />
Add that as the Membergroup name INSTEAD of entering text.
Remember to replace the URL provided with the actual URL of the image you are using.

See attached screenshots for a demo :)

* This tip works for board names as well.
** I Highly recommend that you host the image on your site as it will speed up the loading time of the image and prevent lag on your site.

Do you know which results did i got becouse of this code ?

This solution destroyed my forum , and now i dont have any option te repair it ... The only solution is to delte my forum and install it again and  to upload my files and do edit settings ... Everything from start. Thank you very much.

This are the results of this solution :



And when i press " Change / Edit " i got this results , so no way to repair it ...



And normally it should looks like that :



So now i need to reinstall my forum , right ?
Thank you ............

Offline Heardy

  • Semi-Newbie
  • *
  • Posts: 55
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #30 on: February 19, 2012, 02:58:03 PM »
I found a way to fix that problem,

  • Log in to your database that your host controls
  • Go to smf_membergroups
  • Click on "Edit" where you can see the <img src~~
  • Change it back to the name it was before
  • Press "Go"

FIXED! :)
Mindless Junk - A haven for forumers.

Offline N i g h t m a r e

  • Full Member
  • ***
  • Posts: 577
  • Gender: Male
  • Immortal
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #31 on: January 06, 2013, 04:04:06 AM »
is there a way to use this code in the membergroup ID without it jacking up your Forum? if anyone can let me know please reply FAST!
Thanks
, Zeum

Offline MaSSSS

  • Semi-Newbie
  • *
  • Posts: 39
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #32 on: January 27, 2013, 12:17:56 PM »

Do you know which results did i got becouse of this code ?

This solution destroyed my forum , and now i dont have any option te repair it ... The only solution is to delte my forum and install it again and  to upload my files and do edit settings ... Everything from start. Thank you very much.

-snip-

So now i need to reinstall my forum , right ?
Thank you ............

Same problem here. Now I have to use fix mentioned above so I can use my forum normally again. I admit I was a fool cause I wasnt thinking before I did this, so the joke is on me.

Dear visitors if you ever stump on this "Trick" please save yourself a headache and close this tab. Dont use it or you will be laughing to yourself as we did.

I found a way to fix that problem,

  • Log in to your database that your host controls
  • Go to smf_membergroups
  • Click on "Edit" where you can see the <img src~~
  • Change it back to the name it was before
  • Press "Go"

Thank you for the solution!

@SMF staff

Please remove this, its not safe and its not recommended to do, ever.

Offline thearmykid

  • Jr. Member
  • **
  • Posts: 124
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #33 on: April 03, 2013, 07:16:16 PM »
holy **** didnt think this was possible been looking for this method for months and only just found it thanks for the share ! appreciate it !

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #34 on: April 03, 2013, 07:31:31 PM »
PLEASE DON'T USE IT.

In case you didn't read the tips, this can seriously damage your forum requiring manual database changes to fix.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline thearmykid

  • Jr. Member
  • **
  • Posts: 124
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #35 on: April 03, 2013, 08:56:19 PM »
you are rite with that one i had to go to database and fix the bugged groups but im ok with  that so it still ok with me :)

Offline JBlaze

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,160
  • Gender: Male
    • @fragicide on Twitter
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #36 on: April 04, 2013, 10:20:14 AM »
I totally I forgot I made this... 4 years ago.

Anyways, added a warning/disclaimer to the OP.
Jason Clemons
Former Lead Customizer/Support Specialist
Twitter | Facebook | Instagram

Offline winniethepooh

  • Jr. Member
  • **
  • Posts: 100
  • Gender: Male
  • Rookie Helper
    • https://www.facebook.com/the.cookie.monstar on Facebook
    • @1337pose on Twitter
    • Search N-JIN
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #37 on: April 18, 2013, 07:25:51 AM »
i just wanted to add a tip to anyone who uses this cool smf "hack", make sure your maximum avatar with is greater than or equal to the width of the images you use. ie my avatar maximum size is 148x148, so i would make my member group images 148x30. you get the idea.
"But I'm tryin' Ringo.I'm tryin' real hard to be the Shepherd."

Offline N i g h t m a r e

  • Full Member
  • ***
  • Posts: 577
  • Gender: Male
  • Immortal
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #38 on: January 11, 2014, 03:47:35 PM »
Worked like a charm :) thanks.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #39 on: January 11, 2014, 03:55:01 PM »
PLEASE DON'T USE IT.

In case you didn't read the tips, this can seriously damage your forum requiring manual database changes to fix.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.