Advertisement
Search the Community
Showing results for tags 'new'.
-
Hello everyone. I am happy to be part of this community!
- 3 replies
-
- hello
- ipbprivate
-
(and 3 more)
Tagged with:
-
Hello Webflake. I'm an IP.Board user, I try to give my best to make others feel well and I'm a little bit shy. I wanna thank you all for posting this great free resources and I hope we'll have a great time together. Thank you. ------------- Drew McMahon.
-
Hello all I'm a new member from Philippines! Hope to find a good community here!
-
Hi, i am new. Your site is very interesting. I hope to enjoy it. Thks
-
Hey whats up guys I'm ZiLLa! I'm new to the forum and I happen to be in contruction to a new gaming site that I'm trying to build I just wanted to say hi to the community and wanted to ask what would be some good pointers to starting one? I'm including probably a lot of hooks and a lot of options to my gaming community so what are some succesfull things you've learned?
- 3 replies
-
- intro
- introduction
- (and 6 more)
-
Okay so i'm new here. And i have a question. I'm a part of a website that was purchased here >>REMOVED<< sorry if there is a rule for no advertising. just stating the website for proof*. but anyways that's the website i'm at. and we would like to use IP.Chat on our website but it says it requires a Key to run it. I checked on google and it said that we need access to the Invisionpower Client area to get that key. But since we registered here we don't have a client account. So is there any way we can get a key for Ip chat to work? please help.
-
Hi all, i'm Elex and i'm new to the forum. I am a music producer and love messing with mybb forums. Hope to meet you all on here!
-
Using following function you can get a specified user's gender specified variables. For example... echo "Your friend updated " . IPSMember::fetchGenderCall( IPSMember::load( 1 ) ) . " status."; Will output... (if target user is male) Or... (if target user is female) In a shell... [*]This function is to be placed on your ipsMember.php (IPB 3.2.x+) or core.php (older than IPB 3.1.x) [*]This function has two parameters as follows... [*]$memberData - array - Array of data preloaded of the target user [*]$uppercase - boolean - In case if you want to use that on first of a sentence it will uppercase the first letter (e.g. "His topic just got a reply") The code... Open adminsourcesbaseipsMember.php and find fetchSeoName() function. Add this function after that. (You can place this function anywhere, but be sure to put it inside ipsMember class and outside any internal function). /** * Fetches Gender Relative Call * * @access public * @param array Member data * @param boolean Uppercase word's first letter? * @return string Gender */static public function fetchGenderCall( $memberData, $uppercase=false ){ $researchMember = $memberData; if ( ! is_array( $researchMember ) OR ! $researchMember['member_id'] ) { $researchMember = $this->memberData; } if( $researchMember['pp_gender'] == 'm' ) { return ( $uppercase ) ? ucwords( 'his' ) : 'his'; } elseif( $researchMember['pp_gender'] == 'f' ) { return ( $uppercase ) ? ucwords( 'her' ) : 'her'; } // Because mostly men browsing community forums, isn't it? elseif( $researchMember['pp_gender'] == 'u' OR !$researchMember['pp_gender'] ) { return ( $uppercase ) ? ucwords( 'his' ) : 'his'; }} How to call that? A few examples with outputs are below... ("1" indicates the user ID of the targeted user) "Your friend updated " . IPSMember::fetchGenderCall( IPSMember::load( 1 ) ) . " status."; IPSMember::fetchGenderCall( IPSMember::load( 1 ), true ) . " status has been commented."; Thanks for using best forum software ever, Invision Power Board! Keep up the great work!