Stars and Badges

Started by Bulakbol, February 29, 2008, 11:59:19 PM

Previous topic - Next topic

Rhyme

Quote from: JohnyB on July 07, 2008, 08:50:01 AM
Do you need assistance or help Rhyme?

I would guess so since ./Sources/Load.php - failed and I didn't want to continue to install the mod if the Load was failing. 

Plus like I stated on the mod it says it's for version 1.1.4 not 1.1.5 but you stated it can be used on 1.1.5.  I just want to make sure because I have not saved a back up of my forum yet.

ElectricSquid

Im using it on 1.1.5 without errors, manual install

Rhyme

Quote from: ∑£ℓ¢†®¡¢ §ợų¡đ on July 07, 2008, 01:23:41 PM
Im using it on 1.1.5 without errors, manual install

Please explain.  I'm just learning how to use SMF and FTP self taught.  I have a BS in web design but they did not go over CSS style sheets or FTP at the college I went too.  I'm learning all this for the first time.

Burke ♞ Knight

#263
Johnny, it seems that something got messed up on my new forum...
I had it all set up, then did this mod and now, can not select additional member group for users.
I already have an admin account, just waiting on your PM. :)

EDIT:
Running the Stars and Badges 2.0 on SMF 1.1.5

I use the default theme... Modded the looks a bit. :)

Also, link to site:
http://www.bkgta.co.cc/


Edit #2:

Never mind, I thin k I actually solved them all. :)
Even did so, knowing very little about php, and without cPanel access during server troubles....LOL



Now, just need the post groups to be shown. :)

Bulakbol

@Rhyme
  Attach the files that failed the test. I will fix them before you install the mod. That way, you can uninstall without problem. If only the Sources/Load.php failed the test, attach that file to your next post.

@∑£ℓ¢†®¡¢ §ợų¡đ
   You know what you are doing that's why you have no problem.


@BurkeKnight
   You are learning now. :) If you think I can help, just yell.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

ElectricSquid

Im surprised to hear someone say i know what im doing :P Im still new at this whole SMF thing. Anyway, to answer the question about manual install, go to the mod page, on the upper right side chose your version of SMF and the mod version you need, click submit. Follow the directions on the next page exactly. For a mod to work with a theme, in place of "default" in the file name, use your theme name. Said a different way, find that file in your theme. You will need source access to do this, and since i host my own, i have no clue how that works when you use external hosting.

Rhyme

Not to worry, CTwiz fixed everything for me.

Burke ♞ Knight

1. Got things sorted out.
2. Still can't get the post groups to show, even tried vMulticolor-Stars Mod which messes things up a bit.
3. Added a few of the extra tips you posted in this thread. :) (The Buddy one would be better if it showed the names.)
4. As for that Buddy one, instead of under the post line like you said, I just added it above it... :)
5. If you think you can help get it so vMulticolor-Stars Mod does not mess up my Stars and Badges, please let me know, as the post ranks are kind of important on this site. :)

Thank you. :)

Anub1s

i must say this is a easy one to install realy. all you need to do is install into the standard templarte and just cross refernce to your custom in a web page edditor, i prefer dreamweaver lol.

anyway as i was saying it seems the mod works fine with 2.x newest version and i love it.

my only upset is that i carnt keep the post count starts :( when i add somone to a group :'(

ElectricSquid

I noticed that too, and since i move the location of where stars and badges shows up (now just above the sig) the admin and mod stars showed up there too. All efforts to strip them away did not work. So in the name of making it look great at all costs, i removed all stars from all member groups. We run nothing but custom logos for special member groups, and post count member groups get, well ... Nothing :P

Bulakbol

@Rhyme
   Ok then. Say thanks to CTWiz for me. :)

@BurkeKnight
   Sorry, I don't use the vMulticolor-Stars so I don't know how. Attach your Display.template.php and I'll try to look at it.

@Anub1s
   Is it the post count that you have problem with?

Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Anub1s

on an older version of smf on a forum in the past lol we had the muti badge but also it was showing the post count aswell now i am wondering how to do this :S

Burke ♞ Knight

Johnny, I'd rather not use the vMulticolor-Stars mod, as it does mess things up.

So, I'll just wait for you to come up with a way to show the post groups as well. :)

bros

#273
I'm having trouble with this mod on 1.1.5

Error: Notice: Undefined variable: profile in test2/Sources/Load.php on line 1193

The following mods are installed:
1. LogModAccountEdits
2. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0
3. Topic description
4. MCLegendII.2
5. Member Color Link
6. Custom Profile Field Mod
7. Stars And Badges
8. Ad Managment
9. Banlist
10. SimplePortal
11. Sticky First Post (extends sticky topic)
12. SMF Staff Page
13. SMF Gallery Lite
14. Global Headers Footers

Load.php is attached

Cannot modify header information - headers already sent by (output started at public_html/test2/Sources/Load.php:1193)
File: public_html/test2/Sources/Subs.php
Line: 3227

Bulakbol

@Anub1s and BurkeKnight
   Attach an image of what you want to be displayed and I'll see what I can do.


@bros
   The mod was improperly installed. Try this version of Load.php attached.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Burke ♞ Knight

Johnny, it's a bit hard to do that image, so maybe this might help. :)

Besides the member groups, I have my Post Rank Groups. Instead of stars, they have images I use. I'd like for these post rank groups to show, as well as the member's member groups.

Bulakbol

So you want to show the primary groups' post group stars/rank? I can probably do that. I'll post it here if I have time.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Burke ♞ Knight

I'd like the Member groups then below them, the post rank, if you could. :)

bros

Quote from: JohnyB on July 09, 2008, 06:58:37 PM
@Anub1s and BurkeKnight
   Attach an image of what you want to be displayed and I'll see what I can do.


@bros
   The mod was improperly installed. Try this version of Load.php attached.


Thanks. That worked.

Could you tell me how to display the stars for the additional membergroups in the posts by the users? (for 1.1.5)

Bulakbol

Try this. Sources/Load.php, look for

pg.onlineColor AS post_group_color, IFNULL(pg.groupName, '') AS post_group, mem.is_activated,


add after

IF(mem.ID_GROUP > 0, pg.stars, '') AS stars1,


look for

pg.onlineColor AS post_group_color, IFNULL(pg.groupName, '') AS post_group,


and add below

IF(mem.ID_GROUP > 0, pg.stars, '') AS stars1,


look for

$profile['stars'] = empty($profile['stars']) ? array('', '') : explode('#', $profile['stars']);


and add below it

$profile['stars1'] = empty($profile['stars1']) ? array('', '') : explode('#', $profile['stars1']);


look for

'post_group_color' => $profile['post_group_color'],


and add below it.

'post_group_stars' =>  str_repeat('<img src="' . str_replace('$language', $context['user']['language'], isset($profile['stars1'][1]) ? $settings['images_url'] . '/' . $profile['stars1'][1] : '') . '" alt="*" border="0" />', empty($profile['stars1'][0]) || empty($profile['stars1'][1]) ? 0 : $profile['stars1'][0]),


In the default/Display.template.php, find a place for the following lines.

if (isset($message['member']['post_group_stars']) && $message['member']['post_group_stars'] != '')
echo $message['member']['post_group_stars'], '<br />';



Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Advertisement: