Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.216
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ?This sh...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriousl...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Forum center block
Forum center block

4 Replies / 1370 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » PhpNuke Theme Edits

View previous topic :: View next topic


northernstu
Reputation: 490.3 Add RepSubtract Rep
Local time: 2:27 PM

uk.gif

Spawn Killer
Spawn Killer

0.02 posts per day
Medals: 0

Joined: Nov 08, 2007
Last Visit: 11 Apr 2010
Posts: 30
Points: 7194 

Post Forum center block Posted: Thu Jan 08, 2009 4:41 pm

Shop Purchases:
Americas Army PhpNuke Theme · Multi Gaming (Warrior) Theme · Modern Warfare 2 Evo Xtreme · Modern Gamer Evo Xtreme Theme

hi guys. i have taken advantage of my points and downloaded the forum center block however i noticed when i activate it that it pushes my homepage outwards leaving the header to narrow. i altered the size of the header to suit but when i go into the forum the header is then to big. sigh!
is there a way i could simply reduce the size of the forum center block table to prevent this from happening. it would be great if it was the same size as the shout box.

many thanks in advance

Stu
 

 
View user's profileSend private message Reply with quote

Noto
Reputation: 1043.9 Add RepSubtract Rep
votes: 13
Local time: 9:27 PM
Location: Sunny UK !
uk.gif

Site Admin
Site Admin

0.56 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
Theme Guru
Theme Guru
Joined: May 03, 2007
Last Visit: 09 Feb 2012
Posts: 979
Points: 61126 

Post Forum center block Posted: Thu Jan 08, 2009 6:01 pm

The table in the block uses a width of 100% so it must be the contents inside the block stretching it out, maybe a long line or text or someting.
You can try making the table a static size. open the block file and look for.
Code:
/* Write Table to Screen */
just under that u can see the table, change the size to fit your needs.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

northernstu
Reputation: 490.3 Add RepSubtract Rep
Local time: 2:27 PM

uk.gif

Spawn Killer
Spawn Killer

0.02 posts per day
Medals: 0

Joined: Nov 08, 2007
Last Visit: 11 Apr 2010
Posts: 30
Points: 7194 

Post Forum center block Posted: Thu Jan 08, 2009 10:19 pm

Shop Purchases:
Americas Army PhpNuke Theme · Multi Gaming (Warrior) Theme · Modern Warfare 2 Evo Xtreme · Modern Gamer Evo Xtreme Theme

ah found it
thanks for the tip, it was text but it was the usernames of the top 5 posters so i reduced it to 4 and all aligned. brilliant.. many thanks

and for those who need to know for themselves it on line 117 of the Block_Forum_Center.php

FIND
Code:
 $result=sql_query("SELECT user_id, username, user_posts, user_avatar FROM ".$user_prefix."_users ORDER BY user_posts DESC LIMIT 0,5", $dbi);


AND REPLACE WITH

Code:
 $result=sql_query("SELECT user_id, username, user_posts, user_avatar FROM ".$user_prefix."_users ORDER BY user_posts DESC LIMIT 0,4", $dbi);


CHANGE THE VALUE 0,5 TO 0,4.

Hope this help it worked for me

many thanks for the assistance......
 

 
View user's profileSend private message Reply with quote


FilleSan
Reputation: 0.1 Add RepSubtract Rep
Local time: 2:27 PM


Noob
Noob

0.00 posts per day
Medals: 0

Joined: Jan 31, 2009
Last Visit: 01 Feb 2009
Posts: 1
Points: 42 

Post Forum center block Posted: Sun Feb 01, 2009 12:14 pm

Nice =)
 

 
View user's profileSend private message Reply with quote

bornasniper
Reputation: 474.1 Add RepSubtract Rep
votes: 1
Local time: 1:27 PM


Noob
Noob

0.00 posts per day
Medals: 0

Joined: Apr 20, 2007
Last Visit: 30 Nov 2010
Posts: 2
Points: 72 

Post Forum center block Posted: Tue Mar 03, 2009 1:01 am

Yea The center Block is pushing it outward so you can either alter the center block to narrow it or the Logo itself can be redone.
 

 
View user's profileSend private message Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » PhpNuke Theme Edits

«««« Quick Reply »»»»
 
4 Replies / 1370 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum