Advertisement:

Author Topic: TinyPortal  (Read 758918 times)

Offline desibees

  • Jr. Member
  • **
  • Posts: 395
Re: TinyPortal
« Reply #1260 on: April 11, 2011, 04:18:59 PM »
Hey, im using Tinyportal sidebar. When I expand/collapse, the thing... just blinks and expands or collapses. How can I make it so When I collapse or expand, the thing slides... If you know what i mean..

I'm the.. Help abuser


Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: TinyPortal
« Reply #1261 on: April 11, 2011, 05:02:05 PM »
You'd have to go in and change the javascript routines to use those effects. Not something I have time to do.
IchBin™        TinyPortal
Coding Guidelines       

Offline desibees

  • Jr. Member
  • **
  • Posts: 395
Re: TinyPortal
« Reply #1262 on: April 11, 2011, 05:41:09 PM »
Not something I have time to do.

aw... Can you atleast tell me how to do it so I can give the solution to someone expert to do it for me?

I'm the.. Help abuser


Offline DesuChan

  • Semi-Newbie
  • *
  • Posts: 28
Re: TinyPortal
« Reply #1263 on: April 11, 2011, 11:10:26 PM »
There's no way to currently do this in TP. I'd suggest you just post a link in the download description until the feature can be added.
...So it's going to be added?

Best news I've heard all day. And it's been a pretty good day today! Thank you!!!

Offline desibees

  • Jr. Member
  • **
  • Posts: 395
Re: TinyPortal
« Reply #1264 on: April 11, 2011, 11:15:44 PM »
will you please gimme the solution for my problem above ^^^ even if u dont have time to do it yourself

I'm the.. Help abuser


Offline mashby

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,394
  • Gender: Male
  • badass beer hound
    • Choppix
Re: TinyPortal
« Reply #1265 on: April 11, 2011, 11:20:32 PM »
will you please gimme the solution for my problem above ^^^ even if u dont have time to do it yourself
Do you realize the conflict that mere question has? If he doesn't have time, I doubt he will give you a solution to something. Maybe it's time to open up a manual on JavaScript.
Always be a little kinder than necessary.
- James M. Barrie

Offline desibees

  • Jr. Member
  • **
  • Posts: 395
Re: TinyPortal
« Reply #1266 on: April 12, 2011, 07:43:00 AM »
Well if he doesn't have time to do it, he could gimme a short solution because it is his mod and only he would know. Looks luke no one tried to do this before so I don't want the solution to remain secret.

** I might  sound like I'm arguing but I'm not. Just giving my point of view

I'm the.. Help abuser


Offline Ken.

  • Full Member
  • ***
  • Posts: 496
  • Gender: Male
  • TinyPortal Rocks!
    • Our FamilyForum
Re: TinyPortal
« Reply #1267 on: April 12, 2011, 09:01:32 AM »
Sometimes there is no 'simple' answer to a coding question and this is one of those times... had there been a simple answer or fix you can be sure that IchBin™ would have given you that answer when the question was first posted.

Sometimes patience is needed, especially when the issue is of a minor nature.  ;)
"If you don't have a stack of failures in your shop, you aren't trying hard enough". --Richard Raffin.


Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,502
  • Gender: Male
    • Kindred-999 on GitHub
Re: TinyPortal
« Reply #1268 on: April 12, 2011, 09:32:11 AM »
desibees,

google is your friend...
here's a code that does what you are asking.
http://www.dhtmlgoodies.com/index.html?whichScript=show_hide_content_slide
and another
http://docs.jquery.com/UI/Effects/Slide
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: TinyPortal
« Reply #1269 on: April 12, 2011, 12:17:11 PM »
desibees,

google is your friend...
here's a code that does what you are asking.
http://www.dhtmlgoodies.com/index.html?whichScript=show_hide_content_slide
and another
http://docs.jquery.com/UI/Effects/Slide


After you figure out how to use any of the effects that Kindred posted, you can then implement them into the "function tp_setupUpshrinks()" function inside the Sources/TPortal.php file. That's where the javascript is created for togging the panels. You just need to figure out how to merge your script into TP. That's the part I don't have time for.
IchBin™        TinyPortal
Coding Guidelines       

Offline Wh1teLeopard

  • Semi-Newbie
  • *
  • Posts: 53
  • Gender: Female
    • Kei kars in the park
Re: TinyPortal
« Reply #1270 on: April 12, 2011, 03:07:21 PM »
Hi! Really sorry if this has been addressed or if I'm just being a moron but when I try to upload files to the download manager module it fails claiming 'hacking attempt' @ ?action=tpmod;dl=upload

SMF - 2.0 RC3
TP - 1.0 RC1
www.keikarsinthepark.co.uk - The annual meet for kei car owners.

Offline desibees

  • Jr. Member
  • **
  • Posts: 395
Re: TinyPortal
« Reply #1271 on: April 12, 2011, 03:13:42 PM »
desibees,

google is your friend...
here's a code that does what you are asking.
http://www.dhtmlgoodies.com/index.html?whichScript=show_hide_content_slide
and another
http://docs.jquery.com/UI/Effects/Slide

Quote
You just need to figure out how to merge your script into TP. That's the part I don't have time for.

Anyone else has time for this?

I'm the.. Help abuser


Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: TinyPortal
« Reply #1272 on: April 12, 2011, 04:04:33 PM »
Hi! Really sorry if this has been addressed or if I'm just being a moron but when I try to upload files to the download manager module it fails claiming 'hacking attempt' @ ?action=tpmod;dl=upload

SMF - 2.0 RC3
TP - 1.0 RC1
Do you mean that you get hacking attempt when you go to the upload page? Or do you get it after you hit submit to make an upload?
IchBin™        TinyPortal
Coding Guidelines       

Offline Wh1teLeopard

  • Semi-Newbie
  • *
  • Posts: 53
  • Gender: Female
    • Kei kars in the park
Re: TinyPortal
« Reply #1273 on: April 14, 2011, 01:01:46 PM »
After hitting submit
 :(

(Happens both through the downloads page and through admin)
www.keikarsinthepark.co.uk - The annual meet for kei car owners.

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: TinyPortal
« Reply #1274 on: April 15, 2011, 10:52:24 AM »
Do you get any errors in your SMF log or the server log at the time of getting the error?
IchBin™        TinyPortal
Coding Guidelines       

Offline Wh1teLeopard

  • Semi-Newbie
  • *
  • Posts: 53
  • Gender: Female
    • Kei kars in the park
Re: TinyPortal
« Reply #1275 on: April 15, 2011, 11:29:02 AM »
No, but something weird happened. I enabled the shout box to, well, shout at other admins... and suddenly the downloads icon appeared in the TinyPotal admin front page (I'd never seen it before), and now it's working fine... weird!

Thank you for trying to help me anyway though  ;D

*edit- NOOOO!!!! As soon as I deleted my 'test' and tried a proper upload with a title...

Quote
Today at 16:40
session 5e12a023d508ac692f09adfb63811c9c
Type of error: Critical
URL http://keikarsinthepark.co.uk/index.php?action=tpmod;dl=upload
Apply Filter: Only show the errors with the same message
Hacking attempt...
INSERT INTO smf_tp_dlmanager
(name, description, icon, category, type, downloads, views, file, created, last_access, filesize, parent, access, link, author_id,screenshot,rating,voters,subitem )
VALUES ('Caz's Cappuccino 1280x960', '<br>

', 'http://keikarsinthepark.co.uk/tp-downloads/icons/blank.gif' , 2, 'dlitem', 0, 1, '13028820241280x960BridgeCappo.JPG', 1302882024, 1302882024, 631229, 0, '', '', 1, '','','',0)
Function: TPortalDLManager
Apply Filter: Only show the errors from this file
File: /home/muxdxnr/public_html/keikarsinthepark.co.uk/Sources/TPdlmanager.php
Line: 221
« Last Edit: April 15, 2011, 11:42:40 AM by Wh1teLeopard »
www.keikarsinthepark.co.uk - The annual meet for kei car owners.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,640
    • StoryBB/StoryBB on GitHub
Re: TinyPortal
« Reply #1276 on: April 15, 2011, 11:46:53 AM »
I call that a TP bug for not sanitising the ' in the title.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: TinyPortal
« Reply #1277 on: April 15, 2011, 01:36:33 PM »
Wh1teLeopard, which version of TP are you running? I recall this was a bug fixed some time ago. I'll go do some testing ASAP on this. Also, thanks for reporting the downloads icon bug. I do recall seeing that issue, but can't remember if I've fixed it ATM.
IchBin™        TinyPortal
Coding Guidelines       

Offline Wh1teLeopard

  • Semi-Newbie
  • *
  • Posts: 53
  • Gender: Female
    • Kei kars in the park
Re: TinyPortal
« Reply #1278 on: April 16, 2011, 03:14:54 AM »
I thought I was using the most up to date one, but I wouldn't be surprised if I got mixed up and am using the oldest one (1.0 RC1)

Sorry for causing you trouble
www.keikarsinthepark.co.uk - The annual meet for kei car owners.

Offline Rafferty

  • Jr. Member
  • **
  • Posts: 318
  • Gender: Male
    • 16 Air Defence Regiment Members
Re: TinyPortal
« Reply #1279 on: April 16, 2011, 05:35:16 AM »
Re: Recent Articles and Most Read Article blocks in an article download function block. Could you indicate where I could change the default list of 5 items and change to 10 thanks?
Don't Follow me I got No Idea what I'm Doing