Xandgreen portal style edit

Kein Support auf phpBB Styles direkt!
No support directly to phpBB Styles!

Post Reply

Topic author
raiza
Active Member
Posts: 9
Joined: 25. May 2010 11:45

Xandgreen portal style edit

Post by raiza »

Your Portal Version: 1.0.5
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://www.quietly-confident.com/Forum/

What have you done before the problem was there?


What have you already tryed to solve the problem?


Description and Message
Theres quite a few things i want to edit.

Firstly i want to Force a maximum width for the news block

aswell as that, i want the pictures to be downscaled to a maximum size.

I want a link at the top, so i can get to the portal page.

and i want to hide on the news feed the forum name and the poster and at the bottom of the news, the links like comments views etc.

and i want the latest news tag to display a picture rather than latest news.

Anyone got some spare time to help me?


This is basically what i want the portal page to look like.
Image

Topic author
raiza
Active Member
Posts: 9
Joined: 25. May 2010 11:45

Re: Xandgreen portal style edit

Post by raiza »

Ive found this script for resizing images.
Only thing is because i used view source code i have no idea where to put it.

Code: Select all

<script type="text/javascript"> 
// <![CDATA[
	/**
	* Resize too large images
	*/
	var reimg_maxWidth = 640, reimg_maxHeight = 480, reimg_relWidth = 0;
	
		var reimg_swapPortrait = true;
	
	var reimg_loadingImg = "./styles/xandgreen/imageset/icon_reimg_loading.gif";
	var reimg_loadingStyle = "width: 16px; height: 16px; filter: Alpha(Opacity=50); opacity: .50;";
	var reimg_loadingAlt = "Loading...";
	
			var reimg_autoLink = true;
		
			var reimg_zoomImg = "./styles/xandgreen/imageset/icon_reimg_zoom_in.gif";
			var reimg_zoomStyle = "width: 18px; height: 15px; filter: Alpha(Opacity=45); opacity: .45;";
			var reimg_zoomHover = "filter: Alpha(Opacity=90); opacity: .90;";
		
		var reimg_zoomAlt = "Zoom in (real dimensions: %1$d x %2$d)";
		var reimg_zoomTarget = "_litebox";
	
		
	function reimg(img, width, height)
	{
		if (window.reimg_version)
		{
			reimg_resize(img, width, height);
		}
	}
// ]]>
</script> 
This is where i found the source code http://www.quietlyconfident.net/forum/
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Xandgreen portal style edit

Post by Marc »

That is a MOD:
http://www.phpbb.com/customise/db/mod/r ... ge_resizer

If you force the maximum size of the images with that MOD, you won't have to force a maximum width for the news block anymore.

If you edited your style as instructed in the install.xml and subsilver2.xml, you would have a link to your portal.

If you want to remove parts of what the news block displays, change the news.html inside your styles' template/portal/block/ folder.
Also I'm really not quite sure what the latest news tag is?
Post Reply

Return to “Styles Support”