The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

avatar next to the last post on index?

View previous topic View next topic Go down

Solved avatar next to the last post on index?

Post by Mariofan13 on December 1st 2012, 10:49 am

I wanted to display the avatar next to the last post on index in my forum. I used the forum-search, and found a thread, where the link to this tutorial: http://www.avacweb.com/t129-user-avatar-variable was posted.
So I inserted the JavaScript in Module Arrow HTML und Javascript Arrow JAvascript Codes Verwaltung, and edited the template index_box:
Code:
   
          <center><div class="forum-description">
    <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
          </div></center><br /></td></tr></table>
          <div class="forum-sousforum">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</div>
            <span class="gensmall">
                <!-- BEGIN switch_moderators_links -->
                {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                <!-- END switch_moderators_links -->

            </span><br />
          </td>
          <!-- BEGIN forum_link_no -->
       
      <td class="row3 over" align="center" valign="middle" height="50">
        <span class="gensmall"><span class="AVATAR">{catrow.forumrow.LAST_POST}</span></span>
        </td>       

    <!---- END OF MODIFICATIONS MADE BY THE FRENCH SUPPORT FORUM ---->
[...]
But there are no avatars Sad Help!
The modul "login" is activated and placed at the right side, the width of the right modul column is "0px". In the portal the module is activated too, and at the right side too, but there the width of the right column is 20 per cent.
My browser is firefox 17.0.1 Wink

Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: avatar next to the last post on index?

Post by Mariofan13 on December 3rd 2012, 6:09 pm

Push Exclamation

Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: avatar next to the last post on index?

Post by nextlevelgaming on December 3rd 2012, 6:46 pm

Honestly we'd like to help, but avacweb is down, and you should probably have asked LGForum the admin of avacweb your question since it is his tutorial. Also did you fully read all the post on that tutorial? You have the possibility of crashing your website, so just keep that in mind.

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Solved Re: avatar next to the last post on index?

Post by Mariofan13 on December 3rd 2012, 7:09 pm

Sorry, on Saturday, avacweb wasn't down.
I think it is Better for us to wait until the end of the maintenance in avacweb Wink

Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: avatar next to the last post on index?

Post by nextlevelgaming on December 3rd 2012, 7:14 pm

Yes you can wait. Though like I said, if you have more than like 20 members or something your site will more than likely crash reaching it's limit of data. Now if you have under that amount this code could just work for you.

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Solved Re: avatar next to the last post on index?

Post by Mariofan13 on December 3rd 2012, 7:20 pm

But I saw the Feature with the Avatar next to the last post on index in a forum with more than 90 members - and the forum didn't crash!

Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: avatar next to the last post on index?

Post by nextlevelgaming on December 3rd 2012, 7:23 pm

Was it a forumotion forum?

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Solved Re: avatar next to the last post on index?

Post by Mariofan13 on December 3rd 2012, 7:41 pm

Yes, it was a forumotion Forum Wink But the admin deleted the Forum Sad

Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: avatar next to the last post on index?

Post by nextlevelgaming on December 3rd 2012, 8:15 pm

Well, once avacweb gets back up, we will check it out for you and help you out. It's just a precaution though. If it works thats good, just don't fret when something happens (not saying positively something is going to happen) just give it time and your site will be back up, if it ever does happen though, delete your code ASAP. I'm going to check the site again in a minute k.

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Solved Re: avatar next to the last post on index?

Post by Mariofan13 on December 3rd 2012, 11:25 pm

Coerrection: Now it works! Horray!

I was so sstupid and inserted the wrong javascript Embarassed


Last edited by Mariofan13 on December 3rd 2012, 11:28 pm; edited 1 time in total

Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: avatar next to the last post on index?

Post by Mariofan13 on December 3rd 2012, 11:29 pm

Yes, now it works Wink At first, I inserted the wrong script, and in CSSS i wrote "border-rarius" instead of "border-radius" lol!

Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum