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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,021
  • Total Topics: 21,332
  • Online today: 926
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 283
  • Total: 284
  • lurkalot

Tinyportal block access, DB issue?

Started by Atomiq25, November 05, 2009, 01:08:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Atomiq25

hi, i have this url of my smf forum site

sitewhatever.com/index.php?action=form;id=4

and i have a Block that i want to apear in that section of my site

since it is not an article, or part of the forum i couldnt doi it from the tinyportal panel of settings

so i decided to take a look on the database and i found this in smf_tp_blocks:



i already tried putting this:

1.-   actio=form;id=4|custo=
2.-   action=form;id=4|custo=
3.-   action=form;id=4
4.-   actio=form;id=4

but it doesnt work, what should be the way to do it guys?

thanks for the great tinyportal.

IchBin

You wouldn't be able to do that by modifying the database. If you want it to appear on a certain page within the form action. Your best bet would be to use some PHP. This however limits you to having the block on in all sections without the title/frame showing on it.

if(isset($_GET['id']) && $_GET['id'] == 4)
{
    echo 'html and stuff in here';
}

Atomiq25

#2
i cant use frame or tittle with the block i want to use

look this is the MOD that i am using

by putting 'actio=form' in the database the block will apear on the list of the forms
but it wont apear on the specific form wich is id=4 from (action=form;id=4) ok?

so what else can i do?

IchBin

If you can't use the frame or title with the block, then my suggestion above is what you should use.

This website is proudly hosted on Crocweb Cloud Website Hosting.