Hi folks, I've just made an AJAX based joomla module that displays a user's cb connections. Works great for users who've integrated Joomla with SMF and CB.
Actually this problem has been around ever since the beginning i think i just chose to ignore it since it's quite minor.
Here's a simpler way to duplicate it (via recent topics module): 1) Make sure all boards and posts are read (or mark as read) 2) User_A makes a new post in General Board 3) User_B click on the new post made via the recent topics module 4) Now, since User_B has already read the new post made by User_A through Step 3 (which incidentally is also the *only* new post in this experiment), the General Board (that User_A's post resides in) should show up as "all read" to User_B right? 5) Wrong! User_B goes to forum index via Joomla's menu link, and voila he sees the New Post icon for General Board. 6) User_B will then proceed to enter General Board again, only to find that there isn't any unread post actually. 7) He leaves General Board and goes back to Board Index, and now Discussion Board shows as "all read".
I've installed this plugin and it has a Signature field on the Users Profile...However, there is no where for the user to actually change their signature? (unless of course they use the SMF Profile Info plugin)
Maybe I misunderstood...I thought this would allow the user to change their signature via CB and show it on the profile...Or is it just to show the sig on the profile at the moment?
I mean that 1.0.3 works perfectly with UTF-8 after the ony one line changing and it is not necessary (I think) to improve hereafter.
I see. Can you please do me a favor and upgrade to the version i uploaded on the previous post, then set it to UTF-8 in the module's config, and see if it works? Much appreciated, thanks!
This has nothing to do with the bridge but with AJAX in Joomla itself. The Joomla framework isn't exactly made to support AJAX at the moment. The messages you see are harmless. I'd disable error logging if i were you
A simple workaround will be to create a URL link for your menu, copy the URL of your forums (bridged) into the Link field, and then have it open in "New Window With Browser Navigation".
What do you mean it works only after you changed to 1.0.3..?
Sorry i forgot to change that line. i've overwritten the previous post with the updated version, though i still very doubt it'll work. Appreciate it if someone can point me in the right direction
Great module! I was serching for it long time. Thank you!
Little notice. Joomla and SMF on my site are using UTF-8 encoding. But your module have hardcoded ISO-encoding. To get entire encoding from SMF will be more convenient in this case, I think.
Unfortunately i cant do that cos it's a joomla module afterall. i tried utf_encode it, but all i get is a '?'.
Nonetheless I've attached a copy with UTF "enabled". Please do me a favor and test it if it works. None of my sites are UTF configured, so I can't really test it. This version only converts the poll options to utf. Thanks.
Didn't have an account so when I registered I was taken to a page with this informational message.
Code:
Your account has been created and activation link has been sent to the e-mail address you entered. Note that you must activate the account by clicking on the activation link when you get the e-mail before you can login.
On this page your poll was shown on the right sidebar, and it had these errors:
p9939068 Ajax SMF Poll
Code:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/sbadmin/public_html/mike/modules/mod_smf_ajax_polls.php on line 322
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/sbadmin/public_html/mike/modules/mod_smf_ajax_polls.php on line 323
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/sbadmin/public_html/mike/modules/mod_smf_ajax_polls.php on line 325
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/sbadmin/public_html/mike/modules/mod_smf_ajax_polls.php on line 326
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/sbadmin/public_html/mike/modules/mod_smf_ajax_polls.php on line 327
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/sbadmin/public_html/mike/modules/mod_smf_ajax_polls.php on line 322
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/sbadmin/public_html/mike/modules/mod_smf_ajax_polls.php on line 323
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/sbadmin/public_html/mike/modules/mod_smf_ajax_polls.php on line 332
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/sbadmin/public_html/mike/modules/mod_smf_ajax_polls.php on line 333
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/sbadmin/public_html/mike/modules/mod_smf_ajax_polls.php on line 340
hmmm... and then clicking my registration link I get this error:
Code:
There is no such account in our database or the account has already been activated.
So I tried to login via Joomla-SMF Login(hey that looks familiar ) and it worked. Then I placed my vote, very well done Mike! I like the way the items you voted for are in bold. And the ability to remove vote is nice. How are you doing the AJAX, using a framework or all by hand? I have used xajax a lot recently but their rate of development has been slow so I am searching out better alternatives. Or I might wait for incorporation of JSON into the core php.
Sure you don't want to be part of the dev team!?
Fixed the warning messages. It appears that i can't re-use form fields even though they're on other forms (in this case "task") with ajax
I'm doing this all by hand. Didn't want to use a framework cus 1) doing it manually allows me to learn from scratch, 2) there is actually no "x" in my ajax script , and 3) my ajax script handles only 1 single form and outputs into 1 single div, so a framework will be kinda overkill.
I'm taking a break from work (as promised to my gf ), and my other (non-web) projects are already a handful, so i really doubt i'll have any time left
open up your joomla's configuration.php and look for $mosConfig_live_site. it should contain a value similar to http://www.domain.com, with the www and without the index.php
I read about the problems integrating SMF into Joomla (login smf/joomla, security model needs to exit etc) which Orstio posted in the official Joomla forums. Your bridge is modifying core files, does this make things easier? I'm asking this because i'm a little bit concerned not having a smf-bridge for Joomla 1.5 if there are problems with the new API...
cheers, Benson
The only joomla file that is modified is the index.php, so any changes in the api of J! 1.5 can be easily handled
2. plugin_smfProfile has also a broken avatar link -a quick fix inside /components/com_comprofiler/plugin/user/plug_smfprofile/smf_profile.php on line 204
the above original codes are actually correct. the "tn" you see is the thumbnail of the avatar. check your images folder if the thumbnails actually exist. they have the same filenames as their original-sized avatars, just with a "tn" in front.
Hey all! I have recently created a module that displays any particular SMF's poll and allow users to vote using it. It is my first foray into the world of AJAX, so suggestions are definitely welcomed!
The module will take any poll settings from SMF and properly reflect them. Language translation is also supported. It also requires SMF and JSMF2.0 to be installed first, and was especially made for JSMF users
Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved. Terms of Use