The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

20.06.13 at 09:05:20, Welcome, Guest. Please Login or Register

Choose Language:
Pages: 1 2 3 4 5 ... 7
Add new board on Registration (Read 14550 times)
jasnner
Bloody Novice
*
Offline

Posts: 49



Reply #30 - 14.06.07 at 04:27:27  
I had the mod set to only allow moderator functions to admin. I have adjusted the Sources/BlogCategory.pl and Variables/BlogCategory.txt file. Please find them in the mod.zip attached to the first post.

Now blog owners have moderator abilities on their boards.
 
IP Logged
 

Study english, and have fun www.english-nikki.com
ccarr
Ex Member





Reply #31 - 14.06.07 at 08:06:47  
Thanks Jasinner

I installed the update and checked the chmod's but there is no change that I can see. Cry

Do I have to create a new user to see the changes?

Thanks
 
IP Logged
 
jasnner
Bloody Novice
*
Offline

Posts: 49



Reply #32 - 14.06.07 at 08:54:42  
Yes, you have to create a new member.

I tried it and on the board index page (your main page) you can see, under the self intro. Moderators:admin, jasinner4
« Last Edit: 14.06.07 at 09:14:01 by jasnner »  
IP Logged
 

Study english, and have fun www.english-nikki.com
ccarr
Ex Member





Reply #33 - 14.06.07 at 18:35:46  
It's looking good. I'm playing about with sub boards and moving new boards into alphabetically arranged sub boards. This is cool.

Keep up the good work. 8)
 
IP Logged
 
ccarr
Ex Member





Reply #34 - 14.06.07 at 23:19:39  
jasnner wrote on 14.06.07 at 03:33:47:
I'm not sure about the security update. Only way to find out is to try and it. Let me know if it works.

I want to make this mod as compatable as possible so let me know if it doesn't work after you install the new mod.
oops sorry, just spotted this request. I installed the security update about 24 hours ago and everything appears to be working ok. Smiley

Wish list request for future versions: The ability for existing members to have a board created when they select the blog option in their profiles.  Wink
 
IP Logged
 
jasnner
Bloody Novice
*
Offline

Posts: 49



Reply #35 - 15.06.07 at 09:12:59  
I'm glad the Security Update mod works ok.

I had a look at your forum and I see the picture's sizes are a little strange. Ensure you have allow user's avatars set in the User's avatars admin section and try adjusting the BoardIndex.pl as follows

replace

if ($bdpic =~ /\//i) { $bdpic = qq~ <img src="$bdpic" alt="" border="0" align="middle" /> ~; }
elsif ($bdpic) { $bdpic = qq~ <img src="$imagesdir/$bdpic" alt="" border="0" align="middle" /> ~; }

with

if ($bdpic =~ /\//i) { $bdpic = qq~ <img src="$bdpic" alt="" border="0" align="middle" style="max-width: 65px;"/> ~; }
elsif ($bdpic) { $bdpic = qq~ <img src="$imagesdir/$bdpic" alt="" border="0" align="middle" style="max-width: 65px;"/> ~; }
 
IP Logged
 

Study english, and have fun www.english-nikki.com
ccarr
Ex Member





Reply #36 - 15.06.07 at 09:48:32  
Thanks Jasinner

I have auto resize switched off because it stopped the recent visitors images from showing (a known compatibility issue with an other mod), so I have uploaded all my images for the general boards as 22px high and the user avatars blog avatars as 65px.

My thinking is that the new members boards will automatically appear on the index page and then I move them to their relevant A-Z board so generally all the images on the index page will be will be the same size for most of the time.

Was it this that you were seeing or was it some other image related problem? I viewed the forum in four different browsers and they all looked as I would have expected?

Thanks for your help.
 
IP Logged
 
jasnner
Bloody Novice
*
Offline

Posts: 49



Reply #37 - 15.06.07 at 09:54:56  
That's what I was talking about. I thought you must have been resizing them manually.

As long it's a compatibilty issue with some other mod and not mine, that's cool  8)
 
IP Logged
 

Study english, and have fun www.english-nikki.com
ccarr
Ex Member





Reply #38 - 15.06.07 at 11:23:25  
Quick question I hope. What would I change to make the blog tick box selected by default at registration? Thanks.
 
IP Logged
 
jasnner
Bloody Novice
*
Offline

Posts: 49



Reply #39 - 15.06.07 at 14:53:23  
That variable is one created by the Extended Profiles mod, so I don't have an easy way to set the default for it. Undecided

I would be asking in the extended profiles thread about a way to set defaults for variables created by that mod.
 
IP Logged
 

Study english, and have fun www.english-nikki.com
ccarr
Ex Member





Reply #40 - 15.06.07 at 14:56:59  
Thanks again Wink
 
IP Logged
 
ccarr
Ex Member





Reply #41 - 24.06.07 at 00:01:57  
OK, I got it to work and having played about with everything it turned out to be simpler than I thought. Smiley

I wanted a new board to always be created automatically and this is how I did it:


In the register.pl find and delete this line.

        $useBlogFieldInput<br/><small>$blog_txt{'3'}</small>

Find:
 
       require "$sourcedir/BlogCategory.pl";
                            my $isBlog = ${$reguser}{'ext_0'};
          if($isBlog == 1){


Change to:
 
       require "$sourcedir/BlogCategory.pl";
                            my $isBlog = ${$reguser}{'ext_0'};
          if($isBlog == 0){


Then in the Edit Profile Fields settings:
 
Change the setting for (Field Name: useBlog) to Not Required.

Change the setting for (Field Name: self introduction) to Required.


With the 'self introduction' field being set to Required, the new member will have to fill in the field before it will complete registration. This also makes registration less vulnerable to bots etc.

It's a bit crude but it works.  Wink

« Last Edit: 24.06.07 at 01:38:38 by N/A »  
IP Logged
 
jasnner
Bloody Novice
*
Offline

Posts: 49



Reply #42 - 05.07.07 at 15:21:39  
OK,

Version 2 is complete. Please give it a try!

I added a description of new features and the sources files to the first post.

jasinner
 
IP Logged
 

Study english, and have fun www.english-nikki.com
ccarr
Ex Member





Reply #43 - 05.07.07 at 19:44:55  
Hi Jasinner

Good to see you back onto this. I'm probably not the best person to test this as I have edited my files as per my last post. Im pushing the blogs option on my forum where I would like everyone that joins to have a board. They don't have to use it though. I don't want the board to disappear so I will disable this option.

However, I would still like to have the new update avatar and introduction features so have had a go at moding the files manually.

Only change that I could see in your mod file was in the first two edits.

Sources/UsersAvatars.pl
&
Sources/Profile.pl

I added these changes.

I also uploaded the BlogCategory.pl as that had changed.

Where you have said to change the URL my url is a full link:

http://www.eulogia.co.uk/yabbfiles/avatars/UsersAvatars

So I am not sure what I should put here. I just replaced the whole link with: UsersAvatars

I logged in as a random user and tried to change the users text and then save but I got this error:

Untrapped Error:
Undefined subroutine &main::loadBoards called at ./Sources/Profile.pl line 1395.


I checked out line 1395 and it was:

      @forumControl = &loadBoards('forum.control');

I have restored my files for just now. Have you any idea what the problem might be here?

Feel free to hop onto my server. I think you may still have the details? I have backed up the forum.

I Love the mod even without this option.  8)
 
IP Logged
 
ccarr
Ex Member





Reply #44 - 06.07.07 at 00:31:59  
Jasinner

Step Two doesn't work because there is a slight spelling mistake.

<edit fle>
Sources/Profile.pl
</edit file>

The letter  i  is missing from the word 'file'

I tried it again tonight and found that only my own admin account lets me get past the save profile. I created a new account and that one let me past the save profile but the new board name didn't get updated. I have restored the original files again.

Thanks
 
IP Logged
 
Pages: 1 2 3 4 5 ... 7
© 2000-2012 by - All rights reserved.

Project website hosting proudly sponsored and provided by UK2 Hosting
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum