Author Topic: Some Name Alteration Items  (Read 79938 times)

Offline Albadon

Re: Some Name Alteration Items
« Reply #15 on: October 08, 2006, 06:03:52 am »
Can't see Display Name CSS Mod anywhere? Is this just because the site is under construction? When is it gonna be up and fully funning?

Offline Daniel15

Re: Some Name Alteration Items
« Reply #16 on: October 08, 2006, 10:49:49 am »
Sorry, due to the recent site redesign, they've been moved to the DanSoft Australia site (as I though they'd fit in better there, along with SMF). See http://www.dansoftaustralia.net/downloads/2/Items.html for the items section, and http://www.dansoftaustralia.net/downloads/file/20/Display-Name-CSS-Item.html for this particular item.

I've updated the original post to reflect the new URL's ;)
« Last Edit: October 08, 2006, 10:53:32 am by daniel15 »

Offline Albadon

Re: Some Name Alteration Items
« Reply #17 on: October 09, 2006, 12:20:48 am »
OK, thanks. I fount it. Do i also need the files in addition to Display Name CSS Mod for these items here to work?

Offline Daniel15

Re: Some Name Alteration Items
« Reply #18 on: October 13, 2006, 07:25:26 pm »
Yes, once you install the Display Name CSS item via the Package Manager, install these ones. To do so, copy them into your Sources/shop/items directory, and then go to 'Add Item' in the SMFShop admin panel.

Offline geezmo

Re: Some Name Alteration Items
« Reply #19 on: October 22, 2006, 12:01:33 am »
Not sure if this's been asked before, but does the Change Color of Name also show up in the Users Online list in forum index? I know the colors of usernames change when in the boards, but I want to know if the colors show up in the Online users list too.

Offline Daniel15

Re: Some Name Alteration Items
« Reply #20 on: October 22, 2006, 12:32:39 pm »
Quote
but does the Change Color of Name also show up in the Users Online list in forum index?
Yes, it should... It does on this forum (my name is red)

Offline geezmo

Re: Some Name Alteration Items
« Reply #21 on: October 23, 2006, 03:15:43 am »
Hi Daniel15, but is that red color you bought from the Shop or is it automatic as an admin of the forum? As admin of my forum, my color in the Users Online is red but I bought a shop item that made my username blue with a green background but this did not show up in the Users Online list. My username is still colored red although in the boards my username appears as blue with green background.

Offline TechnoDragon

Re: Some Name Alteration Items
« Reply #22 on: October 23, 2006, 05:16:23 am »
it only affects the style in the posts and members list...the online list and several other ares stay with the membergroup colors
Don't tell me to get into shape...I have a shape...It is round!


Offline inkstains

Re: Some Name Alteration Items
« Reply #23 on: October 27, 2006, 11:05:28 am »
why can't i download the files? it keeps taking me to the login form then back to the index

EDIT: it was just the first file but i downloaded the whole package instead so all sorted
« Last Edit: October 27, 2006, 11:12:37 am by inkstains »

Offline Daniel15

Re: Some Name Alteration Items
« Reply #24 on: October 27, 2006, 06:16:30 pm »
Quote
Hi Daniel15, but is that red color you bought from the Shop or is it automatic as an admin of the forum? As admin of my forum, my color in the Users Online is red but I bought a shop item that made my username blue with a green background but this did not show up in the Users Online list. My username is still colored red although in the boards my username appears as blue with green background.
Oh, sorry, that must have been it. I guess I was wrong, then :P

Quote
it only affects the style in the posts and members list...the online list and several other ares stay with the membergroup colors
Oh, right... Well, I'll see if I can fix that soon ;)

Offline cbn

Re: Some Name Alteration Items
« Reply #25 on: January 03, 2007, 06:36:23 am »
Nice. Thanks
« Last Edit: January 03, 2007, 06:42:24 am by cbn »

Offline perplexed

Re: Some Name Alteration Items
« Reply #26 on: April 04, 2007, 12:32:03 am »
is there a font changing item or how I would I make the changes to make one?
Estne volumen in toga, an solum tibi libet me videre?

Offline Daniel15

Re: Some Name Alteration Items
« Reply #27 on: April 05, 2007, 08:12:07 pm »
Quote
is there a font changing item or how I would I make the changes to make one?
Add a new Display Name CSS item to your forum. For the style, do something like
Code: [Select]
font-family: <name of the font>
For example
Code: [Select]
font-family: Georgia

Offline perplexed

Re: Some Name Alteration Items
« Reply #28 on: April 05, 2007, 08:44:16 pm »
thanks Daniel, I will attempt this

do you see any problems with chaning the actual font?  I wondered why no one had created an item for it already
Estne volumen in toga, an solum tibi libet me videre?

Offline perplexed

Re: Some Name Alteration Items
« Reply #29 on: April 05, 2007, 09:52:47 pm »
Quote
is there a font changing item or how I would I make the changes to make one?
Add a new Display Name CSS item to your forum. For the style, do something like
Code: [Select]
font-family: <name of the font>
For example
Code: [Select]
font-family: Georgia


Ok  I tried to make this using another item but it didnt change the font, it did nothing.

When you go to use the item,there is a dropdown box with 5 fonts - displaying in the actual fonts - but when I use it, it does nothing.

I am posting the code I have, I used the change style item and changed stuff to 'font' but I dont know how to code so its probably missing something important:

Code: [Select]
<?php

/**********************************************\

| SMFSHOP (Shop MOD for Simple Machines Forum) |

|         (c) 2005 DanSoft Australia           |

|      http://www.dansoftaustralia.net/        |

\**********************************************/



//File: Change_Font.php

//This item allows users to change their name font using a drop down menu.


//NOTE: This item requires that the DisplayNameCSS addon item be installed!

//Authors Website: www.graphicaddicts.net


//VERSION: 1.0

//DATE: April 21st 2006



class item_Change_Font extends itemTemplate {

    function 
getItemDetails() {
        
$this->name "Change Name Font!";
        
$this->desc "Change the font of your display name to: Arial, Comic Sans, Courier, Papyrus, Times, Verdana.";
        
$this->price 75;

        
$this->require_input true;
        
$this->can_use_item true;
    }



    function 
getUseInput() {

        return 
'Select a Font: <select name="font_" size="1" id="color">
     <option value="font-family: Arial" style="font-family: Arial">Arial</option>
<option value="font-family: Comic Sans MS" style="font-family: Comic Sans MS">Comic Sans MS</option>
<option value="font-family: Courier New" style="font-family: Courier New">Courier New</option>
        <option value="font-family: Papyrus" style="font-family: Papyrus">Papyrus</option>
<option value="font-family: Times New Roman" style="font-family: Times New Roman">Times New Roman</option>
<option value="font-family: Verdana" style="font-family: Verdana">Verdana</option>

  </select>'
;

    }



    function 
onUse() {

        global 
$db_prefix$ID_MEMBER;

        

        
$result db_query("UPDATE {$db_prefix}members
                            SET shop_nameStyle =
                                concat(shop_nameStyle,'
{$_POST['font_']};')
                            WHERE ID_MEMBER = 
{$ID_MEMBER}",
                            
__FILE____LINE__);



        return 
"Successfully updated your display name font!";

    }



}



?>

Sorry but I dont know how to make it work
Estne volumen in toga, an solum tibi libet me videre?