[Aphrodite] ezPortal

Specific instructions on how to apply certain mods to certain styles.

Moderator: Moderators

Postby SGD on Thu Sep 08, 2005 9:19 am

Perfect..How would I get the image in the top left corner ? thx
Make It Happen !
User avatar
SGD
Registered User
Registered User
 
Posts: 287
Joined: Mon Apr 18, 2005 12:13 am
Location: Washington

Postby MrBass on Thu Sep 08, 2005 9:57 am

Code: Select all
#
#-----[ FIND ]-----------------------------------------------
#
<td><img src="images/attachments/textdocument.png"></td>

#
#-----[ REPLACE WITH ]------------------------------------
#
<td valign="top"><img src="images/attachments/textdocument.png"></td>

#
#-----[ SAVE / CLOSE ALL FILES ]-------------------------
#
EoM


Also, looking at your portal, you might want to remove the colspan="3" and width="33% values. ;)
MrBass
The heart has reasons that reason cannot know. --Pascal

Pete's Place | Pete's Forum
Latest MOD: File Upload Manager Installation guide coming soon...
User avatar
MrBass
Moderator
Moderator
 
Posts: 711
Joined: Thu Feb 17, 2005 2:06 pm
Location: Pete's Place

Postby SGD on Thu Sep 08, 2005 10:02 am

great work. thank you. click my www to see results.
Make It Happen !
User avatar
SGD
Registered User
Registered User
 
Posts: 287
Joined: Mon Apr 18, 2005 12:13 am
Location: Washington

Postby SGD on Thu Sep 08, 2005 10:12 am

[quote user="MrBass" post="49410"]
Also, looking at your portal, you might want to remove the colspan="3" and width="33% values. ;)[/quote]

Remove all of the colspan="3"? there are three instances of that and remove the width="33% ? Should I take out the code ? or just remove the 3 and the 33% leaving the rest ? So, what would that do by removing this ? elaborate please..thx..
Make It Happen !
User avatar
SGD
Registered User
Registered User
 
Posts: 287
Joined: Mon Apr 18, 2005 12:13 am
Location: Washington

Postby MrBass on Thu Sep 08, 2005 10:29 am

[quote user="SGD" post="49412"][quote user="MrBass" post="49410"]
Also, looking at your portal, you might want to remove the colspan="3" and width="33% values. ;)[/quote]

Remove all of the colspan="3"? there are three instances of that and remove the width="33% ? Should I take out the code ? or just remove the 3 and the 33% leaving the rest ? elaborate please..thx..[/quote]

You should take out the entire code (i.e. colspan="3") but from the looks of your portal it appears you have already done so. :)
MrBass
The heart has reasons that reason cannot know. --Pascal

Pete's Place | Pete's Forum
Latest MOD: File Upload Manager Installation guide coming soon...
User avatar
MrBass
Moderator
Moderator
 
Posts: 711
Joined: Thu Feb 17, 2005 2:06 pm
Location: Pete's Place

Postby SGD on Thu Sep 08, 2005 10:30 am

yes...what does that do ? Why did you sugest taking it out ? my portal feels a little bit faster by doing that. Now if I can get the AdSense to show on my portal page, I will be set. thx.
Make It Happen !
User avatar
SGD
Registered User
Registered User
 
Posts: 287
Joined: Mon Apr 18, 2005 12:13 am
Location: Washington

Postby MrBass on Thu Sep 08, 2005 10:50 am

[quote user="SGD" post="49418"]yes...what does that do ? Why did you sugest taking it out ? my portal feels a little bit faster by doing that. thx.[/quote]

I suggested removing it as you only used the one column so it wasn't needed. As for what it does:

The colspan is used to merge columns so an example would be
Code: Select all
<table>
   <tr>
      <td colspan="2">Text spanning over two columns</td>
   </tr>
   <tr>
      <td>Text in left column</td>
      <td>Text in right column</td>
   </tr>
</table>


...and the width is exactly what it says on the tin, it's how you define the width of a cell. So using the above example you could do the following

Code: Select all
<table>
   <tr>
      <td colspan="2">Text spanning over two columns</td>
   </tr>
   <tr>
      <td width="30%">Text in left column</td>
      <td width="70%">Text in right column</td>
   </tr>
</table>


Hope that helps.
MrBass
The heart has reasons that reason cannot know. --Pascal

Pete's Place | Pete's Forum
Latest MOD: File Upload Manager Installation guide coming soon...
User avatar
MrBass
Moderator
Moderator
 
Posts: 711
Joined: Thu Feb 17, 2005 2:06 pm
Location: Pete's Place

Postby SGD on Thu Sep 08, 2005 10:53 am

I see..Learn something new every day..Thank you very much... :)
Make It Happen !
User avatar
SGD
Registered User
Registered User
 
Posts: 287
Joined: Mon Apr 18, 2005 12:13 am
Location: Washington

Postby Uniko on Thu Sep 08, 2005 11:42 am

nice ui like that
+------------------------------+
+--------Hi there
+------------------------------+
User avatar
Uniko
Registered User
Registered User
 
Posts: 310
Joined: Thu Feb 03, 2005 8:42 pm

Postby SGD on Thu Sep 08, 2005 8:34 pm

This will code will palce the image in the top left corner and make it clickable. IE: You can have this point to your Announcements forum or news forum. Whatever you want. Change the information between the quotes to your needs. click www below for demo.

Code: Select all

#-----[ FIND ]----------------------------------------------- 

<td><img src="images/attachments/textdocument.png"></td> 


#-----[ REPLACE WITH ]------------------------------------ 

<td valign="top"><a href="http://www.your page url"_self"><img src="images/path to image" width="72" height="72" alt="" border="0" vspace="3" /></a></td>


#-----[ SAVE / CLOSE ALL FILES ]------------------------- 

EoM
Make It Happen !
User avatar
SGD
Registered User
Registered User
 
Posts: 287
Joined: Mon Apr 18, 2005 12:13 am
Location: Washington

ezPortal

Postby lotusitclubvn on Mon Aug 28, 2006 12:05 am

Code: Select all
Fatal error: Call to undefined function: smilies_pass() in /home/hp236/public_html/fetchposts.php on line 128

My forum has these mod:
- Simple Sub forum
- XS News
- Cached Generation (SQL Cache) 1.2.2
- XS BBCode 1.0.5 Build 2

All these mod from phpbbstyles.com

Forum: http://rentcoder.org/index.php
Ezportal: http://rentcoder.org/portal.php
lotusitclubvn
Registered User
Registered User
 
Posts: 93
Joined: Sun Sep 04, 2005 2:41 am

Postby UseLess on Mon Aug 28, 2006 8:50 am

Greetings,
Code: Select all
         //
         // do a little magic
         // note: part of this comes from mds' news script and some additional magics from Smartor
         //
         stripslashes($posts[$i]['post_text']);
         if (($text_length == 0) or (strlen($posts[$i]['post_text']) <= $text_length))
         {            
//            $posts[$i]['post_text'] = bbencode_second_pass($posts[$i]['post_text'], $posts[$i]['bbcode_uid']);
            $posts[$i]['striped'] = 0;
         }
         else // strip text for news
         {
            $posts[$i]['post_text'] = bbencode_strip($posts[$i]['post_text'], $posts[$i]['bbcode_uid']);
            $posts[$i]['post_text'] = substr($posts[$i]['post_text'], 0, $text_length) . '...';
            $posts[$i]['striped'] = 1;
         }
         //
         // Smilies
         //
         $bbcode->allow_bbcode = $board_config['allow_bbcode'];
         $bbcode->allow_smilies = $posts[$i]['enable_smilies'];
         $bbcode->allow_remote_urls = $board_config['livelinks_enable'];
         $posts[$i]['post_text'] = $bbcode->parse($posts[$i]['post_text'], $posts[$i]['bbcode_uid']);
/*
         //
         // Smilies
         //
         if ($posts[$i]['enable_smilies'] == 1)
         {
            $posts[$i]['post_text'] = smilies_pass($posts[$i]['post_text']);
         }
         $posts[$i]['post_text'] = make_clickable($posts[$i]['post_text']);
*/
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Postby lotusitclubvn on Mon Aug 28, 2006 1:05 pm

problem was solved, thanks UseLess
lotusitclubvn
Registered User
Registered User
 
Posts: 93
Joined: Sun Sep 04, 2005 2:41 am

Postby lotusitclubvn on Mon Aug 28, 2006 2:15 pm

small problem
Fatal error: Call to undefined function: parse() in /home/hp236/public_html/fetchposts.php on line 129


Code: Select all
$posts[$i]['post_text'] = $bbcode->parse($posts[$i]['post_text'], $posts[$i]['bbcode_uid']);

if i delete this code, bbcode will not work
lotusitclubvn
Registered User
Registered User
 
Posts: 93
Joined: Sun Sep 04, 2005 2:41 am

Postby UseLess on Mon Aug 28, 2006 4:11 pm

Greetings,

At the top of the function where that code is add '$bbcode' to the global list.
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

PreviousNext

Return to How to mod some styles

Who is online

Users browsing this forum: No registered users and 1 guest

cron