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: 195,994
  • Total Topics: 21,325
  • Online today: 142
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 84
  • Total: 84

Joomla + SMF + Tinyportal: Changing the theme/Using Shoutbox

Started by darkstar3, May 08, 2007, 02:42:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

darkstar3

Hello,

i wrote it already in the german forum, but I don't think that I will get a fast answer there.
I use the Joomlahacksbridge together with Joomla, SMF and TP.

If I change the theme with the THEME-Module, TP send me to:
/forum/index.php?option=com_smf&Itemid=29;theme=21

but if the bridge should work properly, i must be send to:
/homepage/index.php?option=com_smf&Itemid=29;theme=21

It's the same with the shoutbox, only with:
/forum/index.php?option=com_smf&Itemid=29 and
/homepage/index.php?option=com_smf&Itemid=29


And don't ask why using TP and Joomla ;-)

Thanks for Help!



IchBin

Well I personally don't know anyone who uses Joomla. You're probably better off asking some people at SMF that use joomla or people at the joomla boards.

darkstar3

OK, I will make a Topic in the Joomlaforum too.
But I think the main question of the problem can you answer me:

In which PHP-File TP says how the Shoutbox and the Theme-Changer work?


Saiboogu

Not to criticize your choice in site design, but can I ask if there is a particular reason you are trying to use Joomla + SMF + TP? I used to run my site as Joomla + SMF bridged, and admittedly I was a big Joomla fan ... But I got tired of maintaining two totally different software suites. TP gave me everything I needed to drop Joomla and make my site SMF only. Any chance you could do something similiar?

darkstar3

Hey, I wrote don't ask why using TP and Joomla!  ;)
OK, I will try to explain it with my bad school-english.

Joomla is the best free solution for a professional homepage.
I can't realize the Homepage that I want to have with TP, there aren't the components that I need.

My site is a community & fansite that includes Game-Information, a fanshop, Directory listings, photo galleries, blogs and free user homepages served via Joomla Components. The center of the community is the forum (realized by SMF bridged to Joomla with Community Builder for registration/login, profiles etc.).
Because the forum don't work well in a wrapper, I use TP so that the forum looks like the homepage, and I can connect Forum and Homepage easily with the menu on the left.
On TP I show community-news, and I dont want to miss the Template Changer and Shoutbox.
I want that the Forum don't look (too much) separated from the Homepage without using a wrapper.


Saiboogu

Your English is better than my reading comprehension; I missed that line in your first post. :) Sounds like you are using Joomla to it's fullest - sounds impressive. Kudos. Can I have a link to check it out?

G6Cad

Quote from: terabyte on May 09, 2007, 12:39:54 PM
OK, I will make a Topic in the Joomlaforum too.
But I think the main question of the problem can you answer me:

In which PHP-File TP says how the Shoutbox and the Theme-Changer work?



That would be the themes/default/TPortalblocks.template.php and /Sources/Tportal.php

bloc

I agree that joomla is indeed one of the better CMS out there - the sheer popularity show that. TP is dependant on SMF, therefore you can't really compare. But TP was made to make the use of joomla un-needed for smaller sites. ;) Since many start out with a forum, its logical to keep it, but expand it to do more.

Anyway..shoutbox use $scripturl to redirect..and that is filled with the path to the forums index.php, so you need to insert something different in those files G6 lists up.

darkstar3

I don't know much about php, but I don't think that "$scripturl" is the problem.
All the other TP-Moduls work great, and "Show older Shouts" have also the right url.


Search , Change and Shout! have all one thing together: They use type="submit"
And this type="submit" should be the problem.
Can I replace it with something other (that use "$scripturl" ) ?
With my PHP knowledge I can't replace it without help :'(

@Saiboogu: I can give you the link, but the homepage isn't completed for a long time yet.  ::)



bloc

If you don't know about php, then why do you say its not $scripturl lol? :) Of course it is that.The link the shoutbox sends you to after saving the shout, is the PATH TO YOUR FORUM, not to Joomla homepage. Because the bridge rewrites any SMF links..but NOT any TP links.

One more reason to not have two portals/CMS running at once really.

This website is proudly hosted on Crocweb Cloud Website Hosting.