| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| [ C ] How to modify this code, please help! | |
|---|---|
| Tweet Topic Started: Jul 31 2010, 04:16 AM (304 Views) | |
| kissthebabysky | Jul 31 2010, 04:16 AM Post #1 |
|
Member
![]() ![]() ![]()
|
Board Address: Private Board Software: Zetaboards Description: So, I was looking through the codes and modifictions database and found this very useful code http://resources.zetaboards.com/topic/5068524/1/ I want to modify the code but I'm not quite sure of how. :/ In this code, anything that goes beyond the limit will be cut off, including images. How to change the code so it will change into another image (or replace the current image) instead of cutting it off? Please help me and thanks before! |
![]() |
|
| VMSimon | Jul 31 2010, 04:56 AM Post #2 |
|
#clowns {float:left;} #jokers {float:right;} #me, #you {position:static;text-align:center;margin:auto;}
![]() ![]() ![]() ![]() ![]()
|
There's no point modifying that code I'm afraid - it's a completely different thing coding-wise. I'm sure someone will be able to do it though. |
![]() |
|
| kissthebabysky | Jul 31 2010, 05:28 AM Post #3 |
|
Member
![]() ![]() ![]()
|
Ah I see, thanks for the info Aeon! I hope one of the forums' coding master would bump into this topic and make the code for me. :/ |
![]() |
|
| Lout-ZNR | Jul 31 2010, 06:08 AM Post #4 |
|
He came, he saw...
![]() ![]() ![]() ![]() ![]()
|
If it's the size of images that is causing the problem then you can control them via CSS. To do this just add the following snippet to the CSS - Admin CP > Themes > Theme Appearance (add to every theme you use) -
Change the px values to what ever suits your forum and any images that exceed these dimensions will be automatically scaled to the size you've specified. |
![]() |
|
| kissthebabysky | Jul 31 2010, 08:43 AM Post #5 |
|
Member
![]() ![]() ![]()
|
Firstly, thanks a bunch Lout! ![]() But still, I want the images that go beyond the limit I have set, be replaced by other images. :/ |
![]() |
|
| Roby-ZNR | Jul 31 2010, 10:15 AM Post #6 |
|
Efficacy
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Below the Board
sig_height = The maximum height you want images in signatures to be. sig_width = The maximum width you want images in signatures to be. sig_replacement = If the image is to big, this image will replace it. |
![]() |
|
| kissthebabysky | Jul 31 2010, 09:52 PM Post #7 |
|
Member
![]() ![]() ![]()
|
That's the exact code I need! Thanks a bunch, Krupa!
Edited by kissthebabysky, Jul 31 2010, 09:56 PM.
|
![]() |
|
| Roby-ZNR | Aug 1 2010, 01:00 AM Post #8 |
|
Efficacy
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Completed! Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Closed Requests · Next Topic » |
| Track Topic · E-mail Topic |
8:16 PM Jul 10
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)



8:16 PM Jul 10