News:

Join the Facebook Fan Page.

Main Menu

TinyPortal

Started by lurkalot, February 12, 2005, 04:43:00 AM

Previous topic - Next topic

Padre gremista

How make show full topic title in blocks? It's a example in annex of the problem.
www.gremioemfoco.info - A comunidade gremista na internet.

Kunari

Hey there, I'm having an issue with Tinyportal not redirecting login's to the forums.  I have the option selected in the Settings for tinyportal, but it keeps redirecting everything to the frontpage regardless of which option I have chosen.

Right now the login directs them to /index.php which I'm guessing is just the default.

I'd like for it to redirect to /index.php?action=forum if at all possible.  Just not sure how to go about doing it.

Thanks.

IchBin™

@gremista,
In Themes/default/TPsubs.template.php file look for this line:
echo '
<li' , $coun<count($what) ? '' : ' style="border: none; margin-bottom: 0;padding-bottom: 0;"'  , '>
<span class="tpavatar"><a href="' . $scripturl. '?action=profile;u=' . $w['poster']['id'] . '">' , empty($w['poster']['avatar']) ? '<img src="' . $settings['tp_images_url'] . '/TPguest.png" alt="" />' : $w['poster']['avatar'] , '</a></span><a href="'.$w['href'].'">' . $w['short_subject'].'</a>
', $txt['by'], ' <b>', $w['poster']['link'],'</b> ';


Change $w['short_subject'] to $w['subject']


@Kunari,
What version are you using? I seem to recall fixing that some time ago. I think it was related to having the apache friendly URL's setting turned on in SMF. It should be fixed if you are running TP1.0 I think.
IchBin™        TinyPortal

Kunari

Quote from: IchBin™ on May 30, 2014, 07:04:24 PM
@Kunari,
What version are you using? I seem to recall fixing that some time ago. I think it was related to having the apache friendly URL's setting turned on in SMF. It should be fixed if you are running TP1.0 I think.

I'm using version 1.107.  It's a clean install I just did a couple days ago so it's the most current SMF and Tinyportal.

IchBin™

Working fine for me in my tests. Are you getting any errors in your SMF log when you try to set the option in admin? Or when someone logs into the forum?
IchBin™        TinyPortal

Kunari

#2085
I ended up going into the Settings and choosing go directly to forum index and it works now.  I feel like an idiot.  Thanks though.

IchBin™

I thought you already said you had selected that option? Anyway, glad you got it figured out.
IchBin™        TinyPortal

Padre gremista

@Ichbin

The solution that you posted is not working. The problem remains.
www.gremioemfoco.info - A comunidade gremista na internet.

IchBin™

What settings are you using for the recent topics block?
IchBin™        TinyPortal

Bigguy

Is there a beta version for 2.1 yet. ??

Padre gremista

Quote from: IchBin™ on June 01, 2014, 09:26:00 PM
What settings are you using for the recent topics block?

This below in annex.
www.gremioemfoco.info - A comunidade gremista na internet.

IchBin™

#2091
Quote from: Padre gremista on June 01, 2014, 10:44:37 PM
Quote from: IchBin™ on June 01, 2014, 09:26:00 PM
What settings are you using for the recent topics block?

This below in annex.

You must have made the edit in the wrong place. There are two places that short_subject appears in the recent posts box code. The first is for recent posts when you don't have avatars turned on, the second is when avatars are turned on. I just made the change and verified it works. So you probably just need to make the 2nd edit. The 2 places in the code are only like 20 lines from each other or so.
IchBin™        TinyPortal

IchBin™

Quote from: Bigguy on June 01, 2014, 09:54:23 PM
Is there a beta version for 2.1 yet. ??

No plans to release another TP version until SMF reaches it's first RC release for 2.1.
IchBin™        TinyPortal

Bigguy

Ok, thanks IchBin. :)

Padre gremista

Thanks Ichbin, it Works.
www.gremioemfoco.info - A comunidade gremista na internet.

MoreBloodWine

Is TP even still managed / under development ?

Just saw the last time the "mod" was updated. Anyway, went to go install on a new 2.0.10 site and got this fail.

./Sources/QueryString.php

While I'm sure I could just make the hand edit finding current lines, I'm sure I'd be overwriting something that probably shouldnt be looking at the subtle changes from the old "find" to the new "find".

Ty.
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


DarkAngel612

Quote from: MoreBloodWine on May 23, 2015, 05:08:30 PM
Is TP even still managed / under development ?

Just saw the last time the "mod" was updated. Anyway, went to go install on a new 2.0.10 site and got this fail.

./Sources/QueryString.php

While I'm sure I could just make the hand edit finding current lines, I'm sure I'd be overwriting something that probably shouldnt be looking at the subtle changes from the old "find" to the new "find".

Ty.

Yes it is being managed still and works perfectly as always...yes I am biased cause I have used this for centuries...LOL

You should not overwrite anything by doing the manual edit it is only 1 bit of code that distinctly says TP, hope they fix this in the next generation of it though.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

MoreBloodWine

Quote from: DarkAngel612 on May 23, 2015, 07:04:07 PM
Quote from: MoreBloodWine on May 23, 2015, 05:08:30 PM
Is TP even still managed / under development ?

Just saw the last time the "mod" was updated. Anyway, went to go install on a new 2.0.10 site and got this fail.

./Sources/QueryString.php

While I'm sure I could just make the hand edit finding current lines, I'm sure I'd be overwriting something that probably shouldnt be looking at the subtle changes from the old "find" to the new "find".

Ty.

Yes it is being managed still and works perfectly as always...yes I am biased cause I have used this for centuries...LOL

You should not overwrite anything by doing the manual edit it is only 1 bit of code that distinctly says TP, hope they fix this in the next generation of it though.
I like to have things done in completeness, that being said, guess I wont be using TP on this new site less someone from the team wan'ts to get a quick hotfix update posted for DL here on the mods page.
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


DarkAngel612


Quote from: MoreBloodWine on May 23, 2015, 05:08:30 PM

I like to have things done in completeness, that being said, guess I wont be using TP on this new site less someone from the team wan'ts to get a quick hotfix update posted for DL here on the mods page.

Sorry to hear that the only reason you won't use it id due to one manual edit, there are many mods that need manual editing for templates of site files and still have problems. This mod just need the one copy/paste to proper are and that is it and has features that are easy to use.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

MoreBloodWine

Quote from: DarkAngel612 on May 23, 2015, 07:16:48 PM

Quote from: MoreBloodWine on May 23, 2015, 05:08:30 PM

I like to have things done in completeness, that being said, guess I wont be using TP on this new site less someone from the team wan'ts to get a quick hotfix update posted for DL here on the mods page.

Sorry to hear that the only reason you won't use it id due to one manual edit, there are many mods that need manual editing for templates of site files and still have problems. This mod just need the one copy/paste to proper are and that is it and has features that are easy to use.
The thing is, the manual edit for all I know may cause problems if made. There's subtle differences to the find and replace. One of which I noticed is the word callback in two lines in the existing 2.0.10 code. Didn't look for anything else really... so while yes I can and have for other mods made manual edits. Why make this one without knowing what may or may not break due to the sublt differences in the code from what it was then in smf to what it is now that flags the error in said file.
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Advertisement: