Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) custom_user_titles_13_sp1.3.1.zip (Read 6288 times)
mats
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 19
Location: Karlshamn
Joined: Jul 23rd, 2004
Gender: Male
custom_user_titles_13_sp1.3.1.zip
Aug 21st, 2004 at 9:19pm
Print Post  
I have made a little change in this mod to work in SP1.3.1
  
Back to top
 
IP Logged
 
caliman
God Member
*****
Offline


Swanky

Posts: 1220
Location: Pt. Richmond
Joined: Mar 20th, 2002
Gender: Male
Re: custom_user_titles_13_sp1.3.1.zip
Reply #1 - Aug 22nd, 2004 at 6:48am
Print Post  
This looks cool! I'll try it out. Thanks.  Smiley
  
Back to top
WWW  
IP Logged
 
Valtiel
God Member
*****
Offline


Copy & paste coder

Posts: 873
Joined: Sep 5th, 2003
Gender: Male
Re: custom_user_titles_13_sp1.3.1.zip
Reply #2 - Aug 22nd, 2004 at 7:53pm
Print Post  
It works fine except the part in InstantMessage.pl... it says Quote:
Scalar found where operator expected at ./Sources/InstantMessage.pl line 416, near "$postinfo"
.

Here the part of the code from InstantMessage.pl:

Code
Select All
    <td class="windowbg" bgcolor="$windowbg" width="160" valign="top" height="100%"><font size="1">
    $usernamelink
~;
	if($musername ne "Guest") {
	if($titlesettings eq $cuttxt{'2'}) {
		$yymain .= qq~
		$titlesettings
		$memberinfo<BR>
~;
	} else {
		$yymain .= qq~
		$memberinfo<BR>
		$titlesettings<BR>
~;
	}
	} else {
		$yymain .= qq~
		$memberinfo<BR>
~;
	}
    $star<BR>
    $online<br><br>
    $postinfo 



I have no idea of perl coding so I can't find the error Wink . Perhaps someone can help me...
  

Proud copy & paste coder Grin
Admin @ Silent Hill Forum
Back to top
WWW  
IP Logged
 
eChris
Junior Member
**
Offline


I really do *love* YaBB!

Posts: 98
Location: Liverpool
Joined: May 9th, 2004
Gender: Male
Re: custom_user_titles_13_sp1.3.1.zip
Reply #3 - Aug 29th, 2004 at 11:22pm
Print Post  
mats wrote on Aug 21st, 2004 at 9:19pm:
I have made a little change in this mod to work in SP1.3.1


Any chance of letting us know what it does... or at least a link to the old version, please?

C Smiley
  

http://mytreo.net/forum - for owners of the treo smartphone
Mobile version
Back to top
WWW  
IP Logged
 
eChris
Junior Member
**
Offline


I really do *love* YaBB!

Posts: 98
Location: Liverpool
Joined: May 9th, 2004
Gender: Male
Re: custom_user_titles_13_sp1.3.1.zip
Reply #4 - Aug 29th, 2004 at 11:51pm
Print Post  
Valtiel: There is a missing yymain .= qq~ see below

   <td class="windowbg" bgcolor="$windowbg" width="160" valign="top" height="100%"><font size="1">
   $usernamelink
~;
     if($musername ne "Guest") {
     if($titlesettings eq $cuttxt{'2'}) {
           $yymain .= qq~
           $titlesettings
           $memberinfo<BR>
~;
     } else {
           $yymain .= qq~
           $memberinfo<BR>
           $titlesettings<BR>
~;
     }
     } else {
           $yymain .= qq~
           $memberinfo<BR>
~;
     }
[color=Red][b]$yymain .= qq~[/b][/color]
   $star<BR>
   $online<br><br>
   $postinfo
  

http://mytreo.net/forum - for owners of the treo smartphone
Mobile version
Back to top
WWW  
IP Logged
 
Valtiel
God Member
*****
Offline


Copy & paste coder

Posts: 873
Joined: Sep 5th, 2003
Gender: Male
Re: custom_user_titles_13_sp1.3.1.zip
Reply #5 - Aug 30th, 2004 at 12:02am
Print Post  
Thanx eChris, there's no error message now but it also doesn't show me the user titles in instant messages. But who cares - it's not that important.
  

Proud copy & paste coder Grin
Admin @ Silent Hill Forum
Back to top
WWW  
IP Logged
 
eChris
Junior Member
**
Offline


I really do *love* YaBB!

Posts: 98
Location: Liverpool
Joined: May 9th, 2004
Gender: Male
Re: custom_user_titles_13_sp1.3.1.zip
Reply #6 - Aug 30th, 2004 at 12:09am
Print Post  
Quote:
Thanx eChris, there's no error message now but it also doesn't show me the user titles in instant messages. But who cares - it's not that important.

Hmmm, I was studying the code and the logic seems a bit odd.. something aint quite right methinks Undecided
  

http://mytreo.net/forum - for owners of the treo smartphone
Mobile version
Back to top
WWW  
IP Logged
 
Valtiel
God Member
*****
Offline


Copy & paste coder

Posts: 873
Joined: Sep 5th, 2003
Gender: Male
Re: custom_user_titles_13_sp1.3.1.zip
Reply #7 - Aug 30th, 2004 at 12:12am
Print Post  
Yeah, seems so. But rest of that mod works fine, user titles are shown in posts... but nowhere else. Dunno if they're meant to be shown anywhere else, too (besides IM's).
  

Proud copy & paste coder Grin
Admin @ Silent Hill Forum
Back to top
WWW  
IP Logged
 
hikeeba27
Guest


Re: custom_user_titles_13_sp1.3.1.zip
Reply #8 - Oct 15th, 2004 at 4:36am
Print Post  
I'm a big fan of this hack, but I was wondering:

What could I do to make the user themselves able to give themselves a custom title?
  
Back to top
 
IP Logged
 
Valtiel
God Member
*****
Offline


Copy & paste coder

Posts: 873
Joined: Sep 5th, 2003
Gender: Male
Re: custom_user_titles_13_sp1.3.1.zip
Reply #9 - Oct 15th, 2004 at 6:39am
Print Post  
I'm no coder, but I guess if you change

Code
Select All
		if ($settings[7] eq 'Administrator') {
		fopen( FILE, ">$memberdir/$member{'username'}.title");
		print FILE "$member{'cutitle'}";
		fclose(FILE);
		    } 



to

Code
Select All
		fopen( FILE, ">$memberdir/$member{'username'}.title");
		print FILE "$member{'cutitle'}";
		fclose(FILE); 



then everyone who has permission to edit a profile should be able to change the title.
  

Proud copy & paste coder Grin
Admin @ Silent Hill Forum
Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: custom_user_titles_13_sp1.3.1.zip
Reply #10 - Mar 27th, 2008 at 6:09pm
Print Post  
It doesn't do a lot of things, just one or two, so I'm guessing this is a halfway simple mod.

Any chance anybody would like to release a 2.1 verion and a 2.2 version?
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint