TinyPortal

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

Previous topic - Next topic

Sesquipedalian

Quote from: Kindred on April 14, 2025, 08:34:43 AMrjen--  might this happen if the forum allows guest posting? Because Guests would not have an avatar defined.
Guests do have an avatar defined. They are automatically assigned the default avatar.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Kindred

Quote from: Sesquipedalian on April 14, 2025, 04:34:50 PM
Quote from: Kindred on April 14, 2025, 08:34:43 AMrjen--  might this happen if the forum allows guest posting? Because Guests would not have an avatar defined.
Guests do have an avatar defined. They are automatically assigned the default avatar.

oh, that's right. I forgot that was added to 2.1
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

smap

Quote from: @rjen on April 14, 2025, 07:59:52 AMChecking the code this error can only be caused by an "Online" block or "Recent topics".

Also the "Online" block had the problem with the "show avatars" not being selected.

Thanks for your support

@rjen

Quote from: smap on April 16, 2025, 05:27:13 AM
Quote from: @rjen on April 14, 2025, 07:59:52 AMChecking the code this error can only be caused by an "Online" block or "Recent topics".

Also the "Online" block had the problem with the "show avatars" not being selected.

Thanks for your support

I found the bug in the installer and it is fixed in the next version of TinyPortal.
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

FORK7

Please tell me if it is possible to specify an arbitrary URL of the article in TinyPortal (this is convenient for cases when the site is transferred from another CMS, so that the links already indexed by search engines remain the same).

@rjen

Not in the portal. The best way do taht is to create a redirect in .htaccess

Example:

# Redirects
Redirect 301 /old_address /index.php?page=yourpage
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

FORK7

QuoteNot in the portal
I didn't mean specifically the portal itself. I was referring specifically to articles that can be added to the portal using TinyPortal.
QuoteThe best way do taht is to create a redirect in .htaccess
Example:
# Redirects
Redirect 301 /old_address /index.php?page=yourpage
Thank you for the information. I know this method. It's just that when you transfer each article separately from another CMS to the TinyPortal+SMF bundle, it seems to me that it's much easier and more convenient to insert its old URL into a separate field under the article name (meaning the case when the site domain remains the same, the CMS just changes) than hundreds of lines to insert into .htaccess. In any case, thank you for your time and your reply.

@rjen

There is actually logic applied to the url in TinyPortal: page= identifies an article, cat= an article category.

Using urls without these will actually break the associated functionality.
This would require a major rewrite of the entire portal code.
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

FrizzleFried

#3768
Someone mentioned in response #2178 they made a block with urls and new windows/tabs keep opening... it was suggested in response #2179 to use iurl /iurl instead of url /url...

My problem is the same... but I AM using iurl in the block in question and I am still getting new windows being opened.

Any ideas?

Here is the code in question:

[center][iurl="https://www.x.xxx/index.php?page=9"][img]https://www.x.xxx/_images/RASPJAMMALOGO2.png[/img][/iurl][/center]
[center][iurl="https://www.x.xxx/index.php?page=9"][img]https://www.x.xxx/_images/RasJamma-circle.png[/img][/iurl][/center]
[center][iurl="https://www.x.xxx/index.php?page=9"][img width=165]https://www.x.xxx/_images/buy_button.png[/img][/iurl][/center]



FrizzleFried

Odd... when I inspect the section in question... sure enough... the target="_blank" appears... hmmm...

<a data-src="https://www.x.xxx/_images/RasJamma-circle.png" data-thumb="https://www.x.xxx/_images/RasJamma-circle.png" data-caption="" class="bbc_link" href="https://www.x.xxx/index.php?page=9" target="_blank" style="border: 0px;"><img alt="" class="bbc_img" loading="lazy" src="https://www.x.xxx/_images/RasJamma-circle.png"></a>

Advertisement: