TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 272
  • Total: 272

[Discussion] Recent topics table with hover over previews.

Started by alhaudhie, September 14, 2009, 04:58:20 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Freddy

#110
Bingo  ;D

Ken.

" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Freddy

Cool,  I'll add the code to the block post later then.   :)

Dramber

The code for SMF 1.1.11 works Great!
One section made me pull a bit of hair out though.

In the exclude the recycle folder bit there is a section for Aeva:
$ex_aeva = empty($modSettings['aeva_enable']) ? 0 : 1;
$modSettings['aeva_enable'] = 0;


Leaving this in turns off ALL Aeva lookups for the Frontpage. I'm not sure if I fixed it correctly or not but I added in:
$ex_aeva = empty($modSettings['aeva_enable']) ? 0 : 1;
$modSettings['aeva_enable'] = 1;

At the end of the code. Everything seems to be working ok on my end.
Thanks for the great block!

Blue Steel

why is that code even in there when the Recent Topics Doesn't even use Avea ??

Freddy

#115
Heheh, yeah that shouldn't even be in there.  The reason it is there is because the person who requested the original block had got to a point where they didn't know what to do next and then I took over the code.  I wasn't sure why those Aeva lines were there at the time so I left them alone and then they ended up being left in the code for no reason.

So yes, just remove those two Aeva lines - I will remove them from my snippets now too.   Thanks for bringing that to my attention and sorry I had you pulling your hair out !

coot

I have tried to use any of the Recent hovering blocks you created but I get a:
You don't have permission to access /index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


when i try to save the block.  I have added other block snippets and they all save fine but there is something on this code that my host doesnt like. Any Ideas?



EDIT:  Any of these Recent Post snippets on here I have tried do the same thing, only Bloc's built in snippet works for me on SMF2RC3 w/ tp 1.0 beta 5-1

IchBin

That error you posted has something to do with a server setting called mod_security I think. You'll need to see if you can disable this on your server. There's a post about that error at SMF by Unknown if you search for it.

MrCare

I found in this site that is using ronded corner for the preview box.. how to make it?

agent47

I'm sorry for posting a reply even though this has been marked solved
As I'm an utter noob at coding I was wondering how do I remove the number of page views from this block. As in what are the lines I gotta remove?

This website is proudly hosted on Crocweb Cloud Website Hosting.