Page Index Toggle Pages: 1 ... 25 26 [27] 28 29  Send TopicPrint
Very Hot Topic (More than 25 Replies) Extended Profiles v2.2 for YaBB2 (Read 50089 times)
ChiMoHe
Full Member
***
Offline


I love YaBB 2.2

Posts: 197
Joined: Apr 4th, 2007
Re: Extended Profiles v2.2 for YaBB2
Reply #390 - May 28th, 2007 at 2:36pm
Print Post  
Quick Question ... Do I have to Name the ext field or could I leave the name blank?

I ask because I don't the name of field to display in profile view.  Maybe there could be an option in next version of mod if possible to check a box in admin center that would have the title display to user when modifying profile but not display when viewing profile.

If this is just a matter of removing something from sub view ext or some sub to not display any ext field name in view profile please let me know so I can remove it for my board

Thankyou for everything

ps ... also would it be possible to add link title to link field? as well as a YaBBC toolbar to mutiple line textarea?

Edited:
ok ... I found what to remove to not have field name display in Sources/ExtendedProfile.pl

# returns the output for the viewprofile page
sub ext_viewprofile
Code
Select All
<div style="float: left; width: 30%; padding-top: 5px;  padding-bottom: 5px;">
<b>$field{'name'}:</b>
</div>

then change

<div style="float: left; width: 70%

to

<div style="float: left; width: 100%

 

« Last Edit: May 28th, 2007 at 4:00pm by ChiMoHe »  

soundcloud.com/chimohe
Back to top
IP Logged
 
jasnner
New Member
*
Offline


Bonsai!

Posts: 49
Joined: May 31st, 2007
Gender: Male
Re: Extended Profiles v2.2 for YaBB2
Reply #391 - May 31st, 2007 at 12:59am
Print Post  
When I add a new field to the profile, I want the field name to be in Japanese. I typed Japanese into this field, but when I go to modify profile my character encoding is not recognized.

Any idea how I could add a new field with a character encoding like 'shift_jis'?

or perhaps could someone suggest how to add this new field name to the profile.lng file? I am new to board mod and perl so this seems like a daunting task.
  

Study english, and have fun www.english-nikki.com
Back to top
WWW  
IP Logged
 
Captain John
Senior Member
****
Offline


Pass to Port !

Posts: 264
Location: Reno Beach
Joined: Jan 18th, 2007
Gender: Male
Re: Extended Profiles v2.2 for YaBB2
Reply #392 - Jun 8th, 2007 at 3:17am
Print Post  
JaSinner ... I found this old MOD for YaBB Sp version.... you might be able to make this compatible with YaBB 2.1

http://hp.vector.co.jp/authors/VA011095/tmp/sp1/display_sjis_sp1.mod
  

Love to live and love on the water
Back to top
 
IP Logged
 
jasnner
New Member
*
Offline


Bonsai!

Posts: 49
Joined: May 31st, 2007
Gender: Male
Re: Extended Profiles v2.2 for YaBB2
Reply #393 - Jun 13th, 2007 at 5:44am
Print Post  
I could get around the problem by changing the ext_gen_editfield subroutine in ExtendedProfiles.pl

I commented out these lines
$template1 = qq~<tr class="windowbg"><td align="left" valign="top"><b>$field{'name'}: </b><br /><span class="small">$field{'comment'}</span></td><td align="left">~;
$template2 = qq~</td></tr>\n~;

Then when displaying the extended field names
I replaced
$yymain .= &ext_register;
with
     my ($FieldInput1, $FieldInput2);
     $FieldInput 1= ext_gen_editfield('0');
     $FieldInput 2= ext_gen_editfield('1');
     $yymain .= qq~
  <tr class="windowbg">
         <td>
            <b>$MyFieldPrompt</b>
       </td>
       <td>
            $FieldInput1<br/><small>$myFieldDetails</small>
       </td>
  </tr><tr class="windowbg">
       <td>
             <b>$myFieldPrompt2</b>
       </td>
       <td>
             $FieldInput2
       </td>
  </tr>
     ~;
  

Study english, and have fun www.english-nikki.com
Back to top
WWW  
IP Logged
 
ccarr
Ex Member


Re: Extended Profiles v2.2 for YaBB2
Reply #394 - Jun 15th, 2007 at 2:13pm
Print Post  
Hi Michael or anyone who can answer this question.

Does anyone know how to set the checkbox field so that it is checked by default. I have one set in my registration page.

Apologies if there is already an answer to this question here some where.

Many Thanks
  
Back to top
 
IP Logged
 
crazyleaf
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 11
Joined: Mar 17th, 2007
Re: Extended Profiles v2.2 for YaBB2
Reply #395 - Jun 21st, 2007 at 4:24pm
Print Post  
Good mod. Congratulations.
  

Back to top
 
IP Logged
 
Captain John
Senior Member
****
Offline


Pass to Port !

Posts: 264
Location: Reno Beach
Joined: Jan 18th, 2007
Gender: Male
Re: Extended Profiles v2.2 for YaBB2
Reply #396 - Jul 1st, 2007 at 5:44pm
Print Post  
Michael.... is this correct or an oversight ?
Installation Steps:
-------------------
1. install the mod
2. upload ALL modified files
3. upload ExtendedProfiles.pl to your Sources folder, in ASCII mode, chmod
666

5. upload ExtendedProfiles.lng to your Languages/English folder, in ASCII mode, chmod 666
6. upload extended_profiles_fields.txt to your Variables folder, in ASCII mode, chmod 666
7. upload extended_profiles_order.txt to your Variables folder, in ASCII mode, chmod 666

YaBB Support states pl files should be 755 or even 777 in some of the documentation.
  

Love to live and love on the water
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles v2.2 for YaBB2
Reply #397 - Jul 1st, 2007 at 5:56pm
Print Post  
Actually it doesn't really matter how you chmod your .pl files if they are located in the Sources folder. The only important thing is that the server needs to be able to read the file. This is because they are never executed, only included into YaBB.pl (which of cause needs to be marked executable [755]),
  

The Administrator.
Back to top
WWW  
IP Logged
 
ccarr
Ex Member


Re: Extended Profiles v2.2 for YaBB2
Reply #398 - Jul 1st, 2007 at 6:04pm
Print Post  
Quote:
Hi Michael or anyone who can answer this question.

Does anyone know how to set the checkbox field so that it is checked by default. I have one set in my registration page.
Not to worry, I found a different way  Wink
  
Back to top
 
IP Logged
 
networktp
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 1
Joined: Jul 19th, 2007
Re: Extended Profiles v2.2 for YaBB2
Reply #399 - Jul 19th, 2007 at 8:35pm
Print Post  
I could really use some help. I have followed the instructions exactly and I have a problem. the fields display fine and everything but when they are updated by a user they will save, but the default value is still displayed and no matter what I try it will not work. there seems to be a problem and Im getting really frustrated now and are on the verge of just not having this mod and going without
  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles v2.2 for YaBB2
Reply #400 - Jul 19th, 2007 at 11:27pm
Print Post  
Do the values really get saved? Take a look in your Members folder and check out the .vars file of your user. Do the new profile fields really contain the submitted values or are they all empty?

In the later case, it might be a missing change you forgot to apply.
  

The Administrator.
Back to top
WWW  
IP Logged
 
freediver
New Member
*
Offline



Posts: 48
Joined: Nov 21st, 2006
Re: Extended Profiles v2.2 for YaBB2
Reply #401 - Aug 2nd, 2007 at 6:55am
Print Post  
I still haven't gotten this to work - see my comments on rpevious page. I get an error when I click on the mod in the admin panel.

How do I check if the paths are correct?

Has anyone else had the same problem as me?
  

Founding member of
Back to top
WWW  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles v2.2 for YaBB2
Reply #402 - Aug 2nd, 2007 at 10:52am
Print Post  
Can you post your path settings here? You can find them in your admin center under "forum configuration"->"path serttings".
  

The Administrator.
Back to top
WWW  
IP Logged
 
freediver
New Member
*
Offline



Posts: 48
Joined: Nov 21st, 2006
Re: Extended Profiles v2.2 for YaBB2
Reply #403 - Aug 3rd, 2007 at 3:48am
Print Post  
Do you want the URL settings also?

Absolute Path to your main YaBB directory 
This information is useful for troubleshooting purposes 

/home2/ozpolit/public_html/forum/




  Path Settings 
Edit all your path settings here 

                 Board URL:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="boardurl" size="40" value="http://ozpolitic.com/forum" />
           </div>
           <br />
           <div class="setting_cell">
                 Board Directory:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="boarddir" size="40" value="/home2/ozpolit/public_html/forum" />
           </div>
           <br />
           <div class="setting_cell">
                 Boards Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="boardsdir" size="40" value="/home2/ozpolit/public_html/forum/Boards" />
           </div>
           <br />
           <div class="setting_cell">
                 Data Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="datadir" size="40" value="/home2/ozpolit/public_html/forum/Messages" />
           </div>
           <br />
           <div class="setting_cell">
                 Member Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="memberdir" size="40" value="/home2/ozpolit/public_html/forum/Members" />
           </div>
           <br />
           <div class="setting_cell">
                 Source Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="sourcedir" size="40" value="/home2/ozpolit/public_html/forum/Sources" />
           </div>
           <br />
           <div class="setting_cell">
                 Admin Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="admindir" size="40" value="/home2/ozpolit/public_html/forum/Admin" />
           </div>
           <br />
           <div class="setting_cell">
                 Variables Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="vardir" size="40" value="/home2/ozpolit/public_html/forum/Variables" />
           </div>
           <br />
           <div class="setting_cell">
                 Languages Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="langdir" size="40" value="/home2/ozpolit/public_html/forum/Languages" />
           </div>
           <br />
           <div class="setting_cell">
                 Help Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="helpfile" size="40" value="/home2/ozpolit/public_html/forum/Help" />
           </div>
           <br />
           <div class="setting_cell">
                 Templates Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="templatesdir" size="40" value="/home2/ozpolit/public_html/forum/Templates" />
           </div>
           <br />
           <div class="setting_cell">
                 Forum Style Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="forumstylesdir" size="40" value="/home2/ozpolit/public_html/forum/Templates/Forum" />
           </div>
           <br />
           <div class="setting_cell">
                 Admin Style Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="adminstylesdir" size="40" value="/home2/ozpolit/public_html/forum/Templates/Admin" />
           </div>
           <br />
           <div class="setting_cell">
                 HTML Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="htmldir" size="40" value="/home2/ozpolit/public_html/forum" />
           </div>
           <br />
           <div class="setting_cell">
                 Avatar Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="facesdir" size="40" value="/home2/ozpolit/public_html/forum/avatars" />
           </div>
           <br />
           <div class="setting_cell">
                 Smilies Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="smiliesdir" size="40" value="/home2/ozpolit/public_html/forum/Smilies" />
           </div>
           <br />
           <div class="setting_cell">
                 Mod Images Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="modimgdir" size="40" value="/home2/ozpolit/public_html/forum/ModImages" />
           </div>
           <br />
           <div class="setting_cell">
                 Attachments Dir:
           </div>
           <div class="setting_cell2">
                 <input type="text" name="uploaddir" size="40" value="/home2/ozpolit/public_html/forum/Attachments" />
           </div>
           <br />

  

Founding member of
Back to top
WWW  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles v2.2 for YaBB2
Reply #404 - Aug 3rd, 2007 at 11:50am
Print Post  
Changing your paths to relative ones will probably help in your case. Todo that, change your "board directory" to "." and all the other directories accordingly (e.g. "Member dir" to "./Members").
  

The Administrator.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 ... 25 26 [27] 28 29 
Send TopicPrint