The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
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.<
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.
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.
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.<
آخرین ویرایش توسط
نوشته شده در
Originally posted by radiodelicateSilly 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.
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?
نوشته شده در
Originally posted by radiodelicateSmilies do work in the profile. You just need to enter the smilie code inside of the brackets to get it to display.<
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?
نوشته شده در
Originally posted by radiodelicateSmilies 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
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?
edit: okay, it's working now, I must've done something wrong the last time 'round.<
آخرین ویرایش توسط
نوشته شده در
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.Ok, I'll have a look at that MOD then, because that sounds like the best solution to me as well
All things being equal, it sounds like using the profile image for an avatar will be the easiest solution.
thanks for your help<
نوشته شده در
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)
Change that to be
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
<
Code:
if strAllowForumCode = "1" then
fString = ReplaceURLs(fString)
fString = ReplaceCodeTags(fString)
if strIMGInPosts = "1" then
fString = ReplaceImageTags(fString)
end if
end if
Code:
if strIMGInPosts = "1" and Forum_ID = <number_of_forum> thenCode:
if strIMGInPosts = "1" and (Forum_ID = <number_of_forum> or Forum_ID = <number_of_forum2> or Forum_ID = <number_of_forum3> ...) then
نوشته شده در
Originally posted by phy1729cheers, I'll give it a go. I'll have to allow images first, yeah?<
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)Code:Change that to beif strAllowForumCode = "1" then
fString = ReplaceURLs(fString)
fString = ReplaceCodeTags(fString)
if strIMGInPosts = "1" then fString = ReplaceImageTags(fString)
end if
end ifCode: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 toif strIMGInPosts = "1" and Forum_ID = <number_of_forum> thenCode:if strIMGInPosts = "1" and (Forum_ID = <number_of_forum> or Forum_ID = <number_of_forum2> or Forum_ID = <number_of_forum3> ...) then
نوشته شده در
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.<
آخرین ویرایش توسط
نوشته شده در
phy1729, it works a charm, thanks!<
نوشته شده در
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.<
نوشته شده در
Glad I could help.<
Email Member
Message Member
Post Moderation
بارگزاری فایل
If you're having problems uploading, try choosing a smaller image.
پیشنمایش مطلب
Send Topic
Loading...