News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

TinyPortal

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

Previous topic - Next topic

Biology Forums

Quote from: IchBin™ on October 04, 2011, 02:12:52 AM
Take a look at the avatar code in the snippet you linked to in the firt place. There are several checks needed in order to determine what type of avatar the user is using.

Thanks, I did, but whenever I add:

db_query("SELECT mem.ID_MEMBER, mem.showOnline, mem.realName, mem.posts, mem.avatar, a.ID_ATTACH, a.attachmentType, a.filename
FROM ({$db_prefix}members as mem)
LEFT JOIN {$db_prefix}attachments AS a ON (a.ID_MEMBER = mem.ID_MEMBER)


I gives me an error! Saying 500. Could you please show me?

MrMike

I'm trying out several different portals and I'm wondering it's possible to configure TP so that it doesn't change the overall look of the forum (i.e. no blocks, etc) and just use the CMS articles capability.

In other words, install TP and set it up so the only added functionality is that of the article system.

Is this possible?

IchBin™

That should be possible. In the TPAdmin > Panels section you can turn off all the panels which should not show any blocks. Then set your front page option to go directly to the forum, or just have articles show on your frontpage. It's up to you really.
IchBin™        TinyPortal

MrMike

Super- I turned off all of the panels and have the forum looking as it did. :)

But...how do people access the article system in this setup? I don't see any links or menu options to allow people to get to the test articles I've created. (??)


Quote from: IchBin™ on October 10, 2011, 05:26:00 PM
That should be possible. In the TPAdmin > Panels section you can turn off all the panels which should not show any blocks. Then set your front page option to go directly to the forum, or just have articles show on your frontpage. It's up to you really.

IchBin™

Well you have to figure out how you want them to access them. How are you going to link to them if you turn all the blocks off? You can put items in the main menu and link to the articles from those. But that requires a manual edit to the SMF files. If you want to use a block you'll have to leave one of the panels on and create a block with links to the articles you want, or create a menu type block and create links in the menu manager for TP. You decide. :)
IchBin™        TinyPortal

MrMike

Can I create a menu type block with a link that leads to the listing of categories, so people can drill down into the categories and find articles?

Or, I can manually place a link someplace and have that lead to the listing of categories and articles?



Quote from: IchBin™ on October 10, 2011, 06:47:56 PM
Well you have to figure out how you want them to access them. How are you going to link to them if you turn all the blocks off? You can put items in the main menu and link to the articles from those. But that requires a manual edit to the SMF files. If you want to use a block you'll have to leave one of the panels on and create a block with links to the articles you want, or create a menu type block and create links in the menu manager for TP. You decide. :)

IchBin™

You can create an block that has the listing of categories itself. There's no page that shows the categories by itself.
IchBin™        TinyPortal

MrMike

Ahh, okay. This may not work for me then. There's no available or generated list of the categories that I'd create?

Is there any kind of list or index into the articles?


Quote from: IchBin™ on October 10, 2011, 09:04:41 PM
You can create an block that has the listing of categories itself. There's no page that shows the categories by itself.

IchBin™

There is a block that displays the categories that you have created, or rather the categories you select to be displayed in the admin section for it. There is an articles block that can display all articles from a category, or other options like most commented etc. I'd suggest giving it a test drive in a test install of SMF to see if it does what you need.
IchBin™        TinyPortal

WillyP

MrMike, you might be interested in taking a look at what I did on my test site: Test 2: Planet Descent.

The link 'Articles', and the drop-downs are hard-coded in subs.php. However, once you get the link to the categories, links to each article are there on the category page.

MrMike

Thank you, Willy, this is a lot like what I want. I don't mind hardcoding links in as needed, so this may be a starting point for me.

I want to create a directory of categories with multiple but separate articles in each category, each as a single page.

The way you've got it set up would work for me as long as I can figure out a good way to list all the articles...a cascading menu would be overwhelmed with the number of pages I'll have. That's why I was trying to figure out if there was some page that served as a category & article index.



Quote from: WillyP on October 12, 2011, 03:04:06 PM
MrMike, you might be interested in taking a look at what I did on my test site: Test 2: Planet Descent.

The link 'Articles', and the drop-downs are hard-coded in subs.php. However, once you get the link to the categories, links to each article are there on the category page.

IchBin™

Well it shouldn't be hard to put something together that would grab and list all the categories or articles you want. Just depends on how you want them listed.
IchBin™        TinyPortal

MoreBloodWine

The footer information over laps the SMF info, did it not only on an existing site but a new one as well so it's not user error.

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


IchBin™

It's because of your theme. It doesn't look that way in the default theme.
In your index.css file find this code:
#footerarea ul li.copyright {
display: block;
line-height: 0;
font-size: small;
padding: 1em;
}


Change the line-height to 1.
IchBin™        TinyPortal

MoreBloodWine

Quote from: IchBin™ on December 09, 2011, 12:28:09 PM
It doesn't look that way in the default theme.
I beg to differ, this is the newest site that's had nothing done to it but soem mod installs. FWIW, even with just TP installed which was the first mod it was like that.

http://www.eojmarket.com/juggas_site/index.php
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


IchBin™

Actually it is the theme. Each theme is different, I can only account of the curve theme. Take a look for yourself.
http://www.eojmarket.com/juggas_site/index.php?theme=1
IchBin™        TinyPortal

MoreBloodWine

#1656
Quote from: IchBin™ on December 09, 2011, 12:44:15 PM
Actually it is the theme. Each theme is different, I can only account of the curve theme. Take a look for yourself.
http://www.eojmarket.com/juggas_site/index.php?theme=1
Well, whatever Theme 2 is, it does it on that.

In any event, that link seems to have set some weird ass cookie bec no matter what I do in admin now I'm "stuck" on that theme. I'll give it some time and go back to see if this "cookie" or whatever it is has released it's grip.

In any event, I'll "plug" in that change later and post back with results.

Thx up to this point Ichy :-)

Edit 1:23pm EST: Still stuck with the efault theme, that link seems to have done something to the juggas_site and even the base site at eojmarket.com where I can't change the currently used theme via admin.
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


IchBin™

As admin you can change the theme by adding the theme=(theme id#) in your URL. If you want to change it back then use theme=2 on your site. If it's not theme #2 then just go into your profile and select the theme again. It only keeps the theme for the session. I think you may need to close your browser if not.
IchBin™        TinyPortal

MoreBloodWine

It was a sesion / browser thing so my bad, in any event the 0 to 1 thing worked for the footer info ;-)
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


catchmeonline

s there a nightly for this portal? I love tp btw :) tp for bungghollliiiooo

Advertisement: