Author |
Topic  |
radiodelicate
New Member

Sweden
53 Posts |
Posted - 07 July 2008 : 10:29:39
|
Hi! I recently joined, but have been lurking for months. I cannot even begin to say how much help I've had of these forums, so I'd just like to say thanks for that to begin with.
Now, I have a couple of questions/requests about MODs. I've done my best trying to search for them, but haven't been able to find any satisfying results.
1. Is it possible to just allow images in a certain part of the forum? FIXED!  I've turned images off in my forum as it is now, since I do not want the topics to be cluttered with images and take too long time to load. I have however a part of the forum where the members are encouraged to post links to their photographs, artworks and so on. I would love it if it was possible to allow images just for this specific forum, while images still stay turned off in the other parts.
2. Simple avatars I like the possibility for my users to use avatars, but I'm not particularly fond of the existing Avatar MODs. If I were to choose, I'd like something far more simple. No galleries, no uploading, nothing like that. Just a simple field on the profile where they can paste the URL, much like the Profile Image.
3. Allow smilies in profile bios? Is there some way I can make it so my users will be able to use the smiley codes in their profiles, and make the smilies display properly? I mean, forum code works, why not smilies? - never mind that one, I was being a twerp.
Might also add that I'm fairly new to ASP, and English isn't my first language, so apologies if I've expressed myself foggily.
I hope this is the right part of the forum to ask for things like this.< |
Edited by - radiodelicate on 08 July 2008 11:43:22 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 07 July 2008 : 10:59:50
|
quote: Originally posted by radiodelicate
Hi! I recently joined, but have been lurking for months. I cannot even begin to say how much help I've had of these forums, so I'd just like to say thanks for that to begin with.
Welcome. We always like to see some new faces around here. 
quote: Originally posted by radiodelicate
1. Is it possible to just allow images in a certain part of the forum? I've turned images off in my forum as it is now, since I do not want the topics to be cluttered with images and take too long time to load. I have however a part of the forum where the members are encouraged to post links to their photographs, artworks and so on. I would love it if it was possible to allow images just for this specific forum, while images still stay turned off in the other parts.
As the code stands now, no. But, with some modifications it is possible. I would add that allowing images in some areas, but not others may end up more confusing than a blanket "yes" or "no" - leading to an endless supply of "why can't I post images in forum x?"
I would tend to suggest that you stick with either allowing images or not allowing images. In the end, its your forum and I'm sure someone can help you if you really want to do this.
quote: Originally posted by radiodelicate
2. Simple avatars I like the possibility for my users to use avatars, but I'm not particularly fond of the existing Avatar MODs. If I were to choose, I'd like something far more simple. No galleries, no uploading, nothing like that. Just a simple field on the profile where they can paste the URL, much like the Profile Image.
There is some code floating around here that will let you use the profile image as the avatar. As for anything else, you would either have to write it yourself or sweet talk someone into developing something like that. If you decide to sweet talk someone into developing another Avatar MOD, I'd post the request in a new topic and be as descriptive as you can.
All things being equal, it sounds like using the profile image for an avatar will be the easiest solution.
quote: Originally posted by radiodelicate
3. Allow smilies in profile bios? Is there some way I can make it so my users will be able to use the smiley codes in their profiles, and make the smilies display properly? I mean, forum code works, why not smilies?
Silly question, but do the smilies work everywhere else? I ask only because (without the code in front of me) I would think that if forum code was working, the smilies would be too... I'll have to go and double-check, but it never hurts to start with the obvious questions. < |
 |
|
leatherlips
Senior Member
   
USA
1838 Posts |
|
radiodelicate
New Member

Sweden
53 Posts |
Posted - 07 July 2008 : 12:31:32
|
quote: Originally posted by leatherlips
quote: Originally posted by radiodelicate
3. Allow smilies in profile bios? Is there some way I can make it so my users will be able to use the smiley codes in their profiles, and make the smilies display properly? I mean, forum code works, why not smilies?
Smilies do work in the profile. You just need to enter the smilie code inside of the brackets to get it to display.
haha weeeird. I've tried that, but it didn't work. I'll have to try again :P
edit: okay, it's working now, I must've done something wrong the last time 'round.< |
Edited by - radiodelicate on 07 July 2008 12:33:59 |
 |
|
radiodelicate
New Member

Sweden
53 Posts |
Posted - 07 July 2008 : 12:49:27
|
quote: Originally posted by AnonJr As the code stands now, no. But, with some modifications it is possible. I would add that allowing images in some areas, but not others may end up more confusing than a blanket "yes" or "no" - leading to an endless supply of "why can't I post images in forum x?"
I would tend to suggest that you stick with either allowing images or not allowing images. In the end, its your forum and I'm sure someone can help you if you really want to do this.
I've been giving this quite some thought, and I'm fairly certain this is what I want.
quote: Originally posted by AnonJr There is some code floating around here that will let you use the profile image as the avatar. As for anything else, you would either have to write it yourself or sweet talk someone into developing something like that. If you decide to sweet talk someone into developing another Avatar MOD, I'd post the request in a new topic and be as descriptive as you can.
All things being equal, it sounds like using the profile image for an avatar will be the easiest solution.
Ok, I'll have a look at that MOD then, because that sounds like the best solution to me as well 
thanks for your help< |
 |
|
phy1729
Average Member
  
USA
589 Posts |
Posted - 07 July 2008 : 13:12:52
|
The quick and dirty way to do 1 isn't too hard if you're ok with modding the files. In inc_func_common.asp around line 128 (in green)
if strAllowForumCode = "1" then
fString = ReplaceURLs(fString)
fString = ReplaceCodeTags(fString)
if strIMGInPosts = "1" then
fString = ReplaceImageTags(fString)
end if
end if
Change that to be
if strIMGInPosts = "1" and Forum_ID = <number_of_forum> then Change <number_of_forum> to whatever forum you need. This has not been tested. If you need to allow for many forums just change it to
if strIMGInPosts = "1" and (Forum_ID = <number_of_forum> or Forum_ID = <number_of_forum2> or Forum_ID = <number_of_forum3> ...) then < |
 |
|
radiodelicate
New Member

Sweden
53 Posts |
Posted - 07 July 2008 : 13:29:32
|
quote: Originally posted by phy1729
The quick and dirty way to do 1 isn't too hard if you're ok with modding the files. In inc_func_common.asp around line 128 (in green)
if strAllowForumCode = "1" then
fString = ReplaceURLs(fString)
fString = ReplaceCodeTags(fString)
if strIMGInPosts = "1" then
fString = ReplaceImageTags(fString)
end if
end if
Change that to be
if strIMGInPosts = "1" and Forum_ID = <number_of_forum> then Change <number_of_forum> to whatever forum you need. This has not been tested. If you need to allow for many forums just change it to
if strIMGInPosts = "1" and (Forum_ID = <number_of_forum> or Forum_ID = <number_of_forum2> or Forum_ID = <number_of_forum3> ...) then
cheers, I'll give it a go. I'll have to allow images first, yeah?< |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 07 July 2008 : 13:43:04
|
The way he's got it coded, yes you will have to allow images - but images will only work in the forum(s) that you specify.< |
Edited by - AnonJr on 07 July 2008 13:43:36 |
 |
|
radiodelicate
New Member

Sweden
53 Posts |
Posted - 07 July 2008 : 14:21:50
|
phy1729, it works a charm, thanks!< |
 |
|
radiodelicate
New Member

Sweden
53 Posts |
Posted - 07 July 2008 : 16:06:57
|
another question regarding images: is it possible to modify the code so I can restrict the number of images allowed in each post? I've been trying to search for it, but haven't had any luck so far.< |
 |
|
phy1729
Average Member
  
USA
589 Posts |
Posted - 07 July 2008 : 16:29:18
|
Glad I could help.< |
 |
|
radiodelicate
New Member

Sweden
53 Posts |
Posted - 08 July 2008 : 07:27:24
|
my forum has been loading ridiculously slow since installed that image tweak (at least I'm guessing it's because of that. It was fine earlier, and that's the only thing I've modified in a couple of days) Any clue why, and how to fix it?< |
Edited by - radiodelicate on 08 July 2008 07:28:19 |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 08 July 2008 : 07:36:08
|
Is it all pages? Just the forums that allow images? Just the forums that dont?
Also, have you tried removing the changes and checking to see if that sped things back up?< |
 |
|
radiodelicate
New Member

Sweden
53 Posts |
Posted - 08 July 2008 : 07:49:15
|
it's all pages. I will check if things get better when I remove the changes as soon as I get home from work, don't have access to my files from here. I really hope it's the image tweak that slows things down, because other wise I'm clueless, and more or less up shit-creek without a paddle...
uhm, never mind. I checked the rest of the site, outside of the forum, and it's well slow as well. I suppose it's the server that has decided to run a bit extra slow for some reason :/
edit: the speed is back to normal again, so it certainly didn't have anything to do with the mod.< |
Edited by - radiodelicate on 08 July 2008 09:04:33 |
 |
|
radiodelicate
New Member

Sweden
53 Posts |
Posted - 08 July 2008 : 10:09:50
|
After some discussion with the members of my forum, it seems like they would like to have separate Profile Images and Avatars, so the profile image for avatar MOD might not be the best solution after all.
Still, I would like something very much like it. Just letting the members link to an off-site hosted image, and then having it show up as an avatar. This would require changes to the DB though, wouldn't it? Still, your suggestion is that I post a new topic with the request?< |
 |
|
phy1729
Average Member
  
USA
589 Posts |
Posted - 08 July 2008 : 10:59:24
|
Some people who could help with the mod may not be reading this thread anymore and it will make searching eaiser.< |
 |
|
Topic  |
|