News:

Wondering if this will always be free?  See why free is better.

Main Menu

AvatarOnBoard

Started by Bulakbol, February 18, 2008, 10:39:03 PM

Previous topic - Next topic

allumius

Hello
I use 1.1.6 and Damp theme. I tray to modifie the Boardindextemplate, but the manualmodifications do not work for this topic because I do not find the code to substituting
Can you help me please

Bulakbol

@allumius
Attach your BoardIndex.template.php and I'll check it.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Sabre™

#282
Hey there JohnyB.

Could you find time to fix my themes board.index.template?
Ive sort of got it in there, but its looking like this

right click and select view for larger image

My categories can be selected to view as tabs also, so the code has been added twice in some circumstances to compensate.
You will see what I mean when you view it.
My MessageIndex.template.php is attached also as its structure is fairly different, and I know not nearly enough to add you mod.

Sorry for the extra load JB, Ive tried numerous times to complete this, but have hit a wall with it.

Your assistance is always appreciated.

Cheers :)

EDIT: Could you also add something like
// Johny added this   or something to this effect, to each edit you make?
I have an almost identical theme that I will need to manually add these to aswell.
It will also help me to see what I had missed :)

**removed templates**
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Bulakbol

Which theme are you using Sabre? I have your files. I'll get back to you.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Sabre™

Cheers Johny
Im using [THIS] theme.
You have done these edits for me before, with your first version of this mod.
Unfirtunately I didnt save the files from that site before I took it offline.

Thanks once again mate :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Bulakbol

#285
In your BoardIndex.template.php, line 42, change the "2" to "3"
Quote<td colspan="2">', $txt[20], '</td>

I see you installed ImagesOnBoard as well but your MessageIndex.template.php does not have it, would you like me to add it too?

<edit>
   I removed the ImagesOnBoard code from your BoardIndex.template.php because it's an old version. Reinstall it if you want it.

Here are your edited files. If you want to look for the codes I added, just search/find "JohnyB".
</edit>
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Sabre™

lol  You marked the edited places I had already made lol
I already know where they are! lol
So you changed the <td colspan="2">', $txt[20], '</td>  to  <td colspan="3">', $txt[20], '</td>??
Theres one thing I cannot find to fix, how do I realign this



See how the avy is in the posts column.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Bulakbol

Sorry, I didn't notice it. Try this copy of BoardIndex.template.php

Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Sabre™

#288
Perfect Johny!
Thanks :)

May I ask what you changed, so I can make the edits to the other theme?
It is based off the same theme, just with my own extra additions.

Thank You


Never mind, a quick skim through and I found the edits.
Very nice :)
Thanks once again champ :thumbsup:
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Bulakbol

Sure. I put back the original colspan and edited another line.
Quote
<table border="0" width="100%" cellspacing="1" cellpadding="5" >
            <tr class="titlebg">
               <td colspan="2">', $txt[20], '</td>
               <td width="6%" align="center">', $txt[21], '</td>
               <td width="6%" align="center">', $txt[330], '</td>
               <td colspan="3" width="22%" align="center">', $txt[22], '</td>
            </tr>';
That's all.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Sabre™

« Last Edit: Today at 09:29:20 PM by Sabre™ »

« Reply #289 on: Today at 09:29:50 PM »

Ooohh soo close! lol
Yeah, thanks mate, brilliant job!!

Cheers
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Bulakbol

hehe, so close but you didn't try hard.  :P  You're welcome Sabre.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Manu.G

Hi,

I'm sorry, but I'm to lazy to read all 15 sites here in the topic but I hope you can help me out. ;)

Since I have installed the Avatar on Board Mod I get these errors:
Quote8: Undefined index:  avatar
File: /../.../.../.../.../.../.../MessageIndex.template.php (main sub template - eval?)
Line: 73

This error has to do with the Avatars in the Childboards. I'm using the OverView Theme and have installed the mod manual. I checked till today several times the MessageIndex.template.php, but I really don't know where the mistake can be.  :-[
Version SMF 2.0.8
SimplePortal 2.3.5

Bulakbol

@Manu0372
Attach your Sources/MessageIndex.php and I'll take a look. Maybe you missed some codes.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Manu.G

Hi JohnyB,

here it is, thanks for your help. :D
Version SMF 2.0.8
SimplePortal 2.3.5


Bulakbol

@Manu0372
I can't find anything wrong with your MessageIndex.php. Attach your MessageIndex.template.php and I'll look at the "avatar" error. It cound be coming from another mod and missing txt language string.

@allumius
Here's your edited Damp/BoardIndex.template.php. Let me know if there's error.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Manu.G

Here are my MessageIndex.template.php
Thanks again for your help JohnyB  :D
Version SMF 2.0.8
SimplePortal 2.3.5

Bulakbol

@Manu0372
Your files are fine to me. I am baffled. Attach your Sources/BoardIndex.php. That will be the last one to check.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

nay27uk

#299
hi i have installed this mod and i have to say i like it a lot, However i have noted one thing i would like help with resolving if you could.
ok here goes.
when your on the board index for example index.php?board=1.0 it does not seem to be layed out correct, the avatar and Last post section is one, please see picture bellow.
I would like them to be seperat i.e a heading saying avatar with the avatar under it and then the Last post section.


Advertisement: