1
Quantum7
Re: Saving birthdays in extended profile
  • 2006/3/20 23:39

  • Quantum7

  • Just popping in

  • Posts: 6

  • Since: 2006/2/11


Same problem here. No solution though.



2
Quantum7
Re: Replacing Comments Pages with Forum Threads (CBB)
  • 2006/2/15 23:49

  • Quantum7

  • Just popping in

  • Posts: 6

  • Since: 2006/2/11


Ah. I understand what you mean (i've also found a related forum thread on Xoopsforge ):
Link

I'd love to find out more about the capabilities of that bridge ;). If there's anything that's already classified as advanced enough to be shown / told. (any links to information? )



3
Quantum7
Re: Replacing Comments Pages with Forum Threads (CBB)
  • 2006/2/15 22:43

  • Quantum7

  • Just popping in

  • Posts: 6

  • Since: 2006/2/11


Wow. Fast replies!

Quote:
by phppp on 2006/2/15 23:19:12
It is in processing


Could you expand on what you mean? i.e. is it being implemented in an upcoming XOOPS version or is it a hack that will be published soon?

Quote:
by davidl2 on 2006/2/15 23:20:02
You know, i've suggested exactly the same thing myself

A very simple way of doing this - although it relies on manual work - is to add a "comment" link in any articles (news, or whatever) that goes direct to the relevent forum - and disabling the normal comment system.


Hmmmm. That would probably require adding a table column to each content type to store the ID to the relevant forum thread in. Otherwise it'd become a mess.

The limitation may be though that it'd just be a link. I'm not sure yet how to enable viewing the comments together with the content type. Hmmmm. Maybe with a separate block that uses the CBB forum thread code.



4
Quantum7
Replacing Comments Pages with Forum Threads (CBB)
  • 2006/2/15 22:12

  • Quantum7

  • Just popping in

  • Posts: 6

  • Since: 2006/2/11


I have both XOOPS Comments & CBB installed. However, with a forum, in my opinion, comments are just another thread. I don't really see the need for having both.

My preferred solution would be to end up with only CBB threads. The forum would remain exactly the same, but every page with more than 0 comments would be in fact be a thread in the forum.

Example:
- If you view the details of a SmartSection article you'd see the comments directly beneath it.
- If you go to that same thread in the forum You'd go to the SmartSection article page.

The course of action I'm currently considering is:
==
Hacking the comments.php class so that it does pretty much the same as what a CBB topic class does, including having it use the CBB tables (while still offering the same functions as it did previously). I'm expecting that this would be pretty easy, as I'd only really need to change comments.php (and probably Xoopscomments.php somewhat).
==

(The one other essential thing this would require is an extra parameter for the forum ID)

The disadvantage would be that I'd still be stuck with different functionalitity between 'CBB comments pages' and 'CBB forum threads'.

Anyway, as XOOPS has been around quite a while I was wondering whether or not anyone here has tried this & accomplished this? And if so: How & Does anyone have examples?

P.S. I posted it here because it's pretty much about hacking the comments within Xoops.



5
Quantum7
Re: Integrating FlashChat
  • 2006/2/12 0:17

  • Quantum7

  • Just popping in

  • Posts: 6

  • Since: 2006/2/11


I managed to get the auto-login working. I ended up setting a cookie in XOOPS and reading the cookie from Flashchat's connection.php to transfer the user id correctly.

If anyone knows how to do it correctly, I'd still be interested in that, as this is not an ideal solution. But at least it works!



6
Quantum7
Re: Integrating FlashChat
  • 2006/2/11 2:52

  • Quantum7

  • Just popping in

  • Posts: 6

  • Since: 2006/2/11


I'm trying to integrate Flashchat (latest version) with XOOPS 2.2.3. (yes, I used the integration method as prescribed for XOOPS 2.0.7. Flashchat is working on my site)

However:
When I open chat/flashchat.php in a separate window or if I use an <iframe> to show Flashchat on one of my pages, it doesn't log me in automatically.

After several hours of trying I seem to have narrowed it down to these lines in xoopsCMS.php:

Quote:
function isLoggedIn() {
global $xoopsUser;
return $xoopsUser?$xoopsUser->getVar('uid'):null;
}


The reason I am saying that is:
- If I use "return 3" (with 3 being a valid userid) the user with ID 3 is logged in automatically. Therefore it seems everything past this step is going ok.
- If I use isObject($xoopsUser) it doesn't return an object, making me suspect XOOPS isn't getting the object.

However, I can't figure out how to get the user id from XOOPS correctly. I tried using 4-5 different methods; none of those seem to work though.

I'm hoping someone here (that implemented it succesfully) will know what's going wrong!




TopTop



Login

Who's Online

226 user(s) are online (150 user(s) are browsing Support Forums)


Members: 0


Guests: 226


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits