Friends List Coding

Started by coldy316, November 30, 2009, 04:54:49 AM

Previous topic - Next topic

Arantor

SISPro: it's not a mod. It's just discuss how to edit the files; I doubt it will be packaged as a mod, and even if it were, on 1.1 you'd likely have to install it yourself anyway.

coldy316

Quote from: Arantor on December 04, 2009, 03:35:55 AM
SISPro: it's not a mod. It's just discuss how to edit the files; I doubt it will be packaged as a mod, and even if it were, on 1.1 you'd likely have to install it yourself anyway.

Could this be turn into a mod arantor???
Would you believe it that i live in gods country
Australia

Nick Whetstone

Ahh... I absolutely fail :P I completely forgot to finish this. It was a crazy week (hosted a 250+ people party, went out of state for the weekend, etc...).

I shall work on this tomorrow. Once again, I apologize.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Nick Whetstone

Quote from: coldy316 on December 09, 2009, 12:20:16 AM
Could this be turn into a mod arantor???
Yes, it could. It could take a little more time, but it could have more features, such as possibly the ability to customize it and its contents from the Admin panel, the option to enable/disable it from the Admin panel without fully uninstalling it, etc...
Will you want just the code or a Mod for it? Need to know before I start working on it tomorrow.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Arantor

Quote from: coldy316 on December 09, 2009, 12:20:16 AM
Could this be turn into a mod arantor???

Please read what I said;
Quoteand even if it were, on 1.1 you'd likely have to install it yourself anyway.

coldy316

Quote from: crazysince95 on December 09, 2009, 01:16:36 AM
Quote from: coldy316 on December 09, 2009, 12:20:16 AM
Could this be turn into a mod arantor???
Yes, it could. It could take a little more time, but it could have more features, such as possibly the ability to customize it and its contents from the Admin panel, the option to enable/disable it from the Admin panel without fully uninstalling it, etc...
Will you want just the code or a Mod for it? Need to know before I start working on it tomorrow.

The code would be great thanks crazysince95.

arantor it was just a question thats all, your post got me confuse.
Would you believe it that i live in gods country
Australia

Arantor

Simple fact: most mods on 1.1 have to be installed manually on custom themes, it's all down to what the mod modifies and what files the theme uses.

Here is a modification to BoardIndex.template.php - many mods do include their own so you'd have to make it a manual modification even if it were published as a mod.

coldy316

Quote from: Arantor on December 09, 2009, 08:33:32 AM
Simple fact: most mods on 1.1 have to be installed manually on custom themes, it's all down to what the mod modifies and what files the theme uses.

Here is a modification to BoardIndex.template.php - many mods do include their own so you'd have to make it a manual modification even if it were published as a mod.

Hey thats cool arantor, I understand more now what your getting at. anyway I
have choosen to go with the code would make more sense.


Would you believe it that i live in gods country
Australia

Nick Whetstone

#28
I *think* this is what you wanted...
In BoardIndex.template.php
Code (find) Select
// This is the "Recent Posts" bar.

Code (before) Select
// Friends list
echo '<div class="titlebg" style="width:100%; text-align: center; padding-top: 5px; padding-bottom: 5px;">Friends</div>
<table style="border: 0; width: 100%; text-align: center;" align="center">
<tr>
<td>Friends</td>
<td>Friends</td>
<td>Friends</td>
</tr>
<tr>
<td>Friends</td>
<td>Friends</td>
<td>Friends</td>
</tr>
<tr>
<td>Friends</td>
<td>Friends</td>
<td>Friends</td>
</tr>
</table>
<div class="titlebg" style="width:100%; text-align: center; padding-top: 5px; padding-bottom: 5px;">Blogs and others</div>
<table style="border: 0; width: 100%; text-align: center;" align="center">
<tr>
<td>Friends</td>
<td>Friends</td>
<td>Friends</td>
</tr>
<tr>
<td>Friends</td>
<td>Friends</td>
<td>Friends</td>
</tr>
<tr>
<td>Friends</td>
<td>Friends</td>
<td>Friends</td>
</tr>
</table>';
// End friends list
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Arantor

Well there should be closing </tr> before opening new ones but other than that... looks like it might be right.

Nick Whetstone

Quote from: Arantor on December 12, 2009, 03:04:09 AM
Well there should be closing </tr> before opening new ones but other than that... looks like it might be right.

Oh, wow... you're right. I forgot to close them :P I'll do that now
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

SISPro

thank you that looks great and so far works

Nick Whetstone

Good to know... Again, sorry it took so long.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

coldy316


Its in and working like a charm, thank you so much for that.

Would you believe it that i live in gods country
Australia

Advertisement: