Author |
Topic |
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 10 September 2003 : 07:22:44
|
Nice looking mod, will try it out later, does it apply to signiture pictures aswell as pictures in posts, might be nice to have settings for both for forums with size restrictions on signiture pictures. |
The UK MkIVs Forum |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 10 September 2003 : 08:19:22
|
I've just installed the mod but the resizeImage function doesn't fire, the popup works though, see here http://www.uk-mkivs.net/forum/topic.asp?TOPIC_ID=15960 , my max width is 400 so those pics should resize.
Edit: if I remove the if statement in resizeImage() and leave the code within (effectively resizing all images) it works fine, it seems that the if statement is not working correctly? I then added alert(thisimage.width) before the if statement, the alert box showed 0 for the width??? |
The UK MkIVs Forum |
Edited by - DavidRhodes on 10 September 2003 09:38:55 |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 11 September 2003 : 10:41:35
|
Still having problems, it seems to only work for me when I haven't previously seen an image, when I go back into a post, the image will be full size |
The UK MkIVs Forum |
|
|
seven
Senior Member
USA
1037 Posts |
Posted - 11 September 2003 : 17:58:05
|
off topic... I love the way you did the css for topic quotes. Do you share the code for this anywhere?
|
|
Edited by - seven on 11 September 2003 17:58:25 |
|
|
AWD_ENVY
Junior Member
103 Posts |
Posted - 12 September 2003 : 08:25:55
|
In "inc_func_common.asp" around line 693 change:
if fField_Type <> "signature" and fField_Type <> "title" then
fString = doCode(fString, "{quote}", "{/quote}", "<blockquote id=""quote""><font size=""" & strFooterFontSize & """ face=""" & strDefaultFontFace & """ id=""quote"">quote:<hr height=""1"" noshade id=""quote"">", "<hr height=""1"" noshade id=""quote""></blockquote id=""quote""></font id=""quote"">")
end if to look like
if fField_Type <> "signature" and fField_Type <> "title" then
fString = doCode(fString, "{quote}", "{/quote}", "<blockquote class=""quote"">Quote: <i>", "</i></blockquote>")
end if NOTE: Make sure to change the "{" & "}" tags in the above code to "[" and "]" tags.... as this forum will not let you put the quote tags in code statements for view.
And then Add the following to your CSS's in "inc_Header.asp" & "inc_header_short.asp"
Response.Write (".quote {background-color:#FEFEEF;margin:0px;padding:3px;border:1px solid #999966;color:black;font-size:8pt;}") |
|
|
richfed
Average Member
United States
999 Posts |
Posted - 13 September 2003 : 18:20:43
|
Sounds like a very useful tool.
I am, however, completely befuddled by the instructions.
Step 1 - Clear. No problem.
Step 2 - This reads:
2.) CHANGE TO inc_func_common.asp -----------------------------------------------------------
At the bottom of the page (right before the closing </body> tag), inside inc_footer.asp, place the following line:
<div id="showimage" style="position:absolute;visibility:hidden;border:1px solid black"></div>
What does this even mean? Which file gets the edit, inc_func_common or inc_footer?
Steps 3 & 4 - I've learned through this thread that those two additional bits of code go in inc_header, but where?
Would greatly appreciate it if someone who has successfully installed this MOD could clarify this for me, and for others who are undoubtedly experiencing similar confusion. |
Rich [size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1] |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 15 September 2003 : 07:47:16
|
quote: Originally posted by AWD_ENVY
In "inc_func_common.asp" around line 693 change:
if fField_Type <> "signature" and fField_Type <> "title" then
fString = doCode(fString, "{quote}", "{/quote}", "<blockquote id=""quote""><font size=""" & strFooterFontSize & """ face=""" & strDefaultFontFace & """ id=""quote"">quote:<hr height=""1"" noshade id=""quote"">", "<hr height=""1"" noshade id=""quote""></blockquote id=""quote""></font id=""quote"">")
end if to look like
if fField_Type <> "signature" and fField_Type <> "title" then
fString = doCode(fString, "{quote}", "{/quote}", "<blockquote class=""quote"">Quote: <i>", "</i></blockquote>")
end if NOTE: Make sure to change the "{" & "}" tags in the above code to "[" and "]" tags.... as this forum will not let you put the quote tags in code statements for view.
And then Add the following to your CSS's in "inc_Header.asp" & "inc_header_short.asp"
Response.Write (".quote {background-color:#FEFEEF;margin:0px;padding:3px;border:1px solid #999966;color:black;font-size:8pt;}")
you'll need the code to undo the doCode function, ie. when editing, but this should be in another topic |
The UK MkIVs Forum |
|
|
richfed
Average Member
United States
999 Posts |
Posted - 16 September 2003 : 05:33:37
|
quote: Originally posted by richfed
Sounds like a very useful tool.
I am, however, completely befuddled by the instructions.
Step 1 - Clear. No problem.
Step 2 - This reads:
2.) CHANGE TO inc_func_common.asp -----------------------------------------------------------
At the bottom of the page (right before the closing </body> tag), inside inc_footer.asp, place the following line:
<div id="showimage" style="position:absolute;visibility:hidden;border:1px solid black"></div>
What does this even mean? Which file gets the edit, inc_func_common or inc_footer?
Steps 3 & 4 - I've learned through this thread that those two additional bits of code go in inc_header, but where?
Would greatly appreciate it if someone who has successfully installed this MOD could clarify this for me, and for others who are undoubtedly experiencing similar confusion.
Would someone please be so kind as to assist me in the placement of this code? Thanks! |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 19 September 2003 : 04:23:30
|
2. the code goes at the bottom of inc_footer.asp, above the <body> tag.
3/4. between the <head></head> tags, where the other CSS definitions are.. |
The UK MkIVs Forum |
|
|
richfed
Average Member
United States
999 Posts |
Posted - 19 September 2003 : 05:03:59
|
Thank you David ... will try it again!
|
|
|
richfed
Average Member
United States
999 Posts |
Posted - 21 September 2003 : 19:30:51
|
I continue to struggle with this one ...
I think I have the code on inc_func_common.asp correct. That's pretty straight forward.
The other two, inc_header & inc_footer are another story. I was getting syntax errors & expected end of statement errors on both of them. Kept trying different things - getting slightly different errors. When I uploaded all the files at once, it was inc_footer.asp getting the error. What does that one line of code need to be surrounded with?
Then, I tried 'em one at a time - uploaded only the modded inc_header.asp. This is my major problem, for I truly have little idea of where to place these two code bits. I think I had them, generally, in the correct area, but had something wrong, obviously. Do these two code bits need to be bracketed in any way? And, please, point me toward a little more definitive placement. I really have no clue on this one ... yet, it usefulness on my forum would be high! |
Rich [size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1] |
|
|
Umlungu
Starting Member
11 Posts |
|
richfed
Average Member
United States
999 Posts |
Posted - 27 September 2003 : 16:12:10
|
That's much better! Easy to figure out & seems to be working fine.
Thanks for redoing this. |
|
|
Topic |
|