Re:UddeIM Plugin (1 viewing) (1) Guest
Favoured: 3
|
|
|
TOPIC: Re:UddeIM Plugin
|
|
|
|
Re:UddeIM Plugin 1 Month, 3 Weeks ago
|
Karma: 5
|
No problem,we understand this
Thank you
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:UddeIM Plugin 1 Month, 3 Weeks ago
|
Karma: 9
|
|
ok version 1.4 should be there.
I've tested out on my J1.5 installation and seems fine. I think it was because of an ampersand character in the description field.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:UddeIM Plugin 1 Month, 3 Weeks ago
|
Karma: 1
|
|
Ok. now it works !
Respect !
But, no New Message Popup, the Message is listed under udde incoming, but it looks like a read message ...
|
|
|
|
|
|
|
PUArcade version: 2.3, PHP version: 5.2.5, DB ver: 4.1.22-max-log, Webserver to PHP interface: cgi-fcgi, PHP Safe Mode: FALSE, J1.5.7, newscore.php & arcade.php has the correct permissions - No SEO/SEF - No JAccelerator
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:UddeIM Plugin 1 Month, 3 Weeks ago
|
Karma: 9
|
|
ok - try version 1.5 which is up there. should do the trick.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:UddeIM Plugin 1 Month, 3 Weeks ago
|
Karma: 1
|
|
Yes ! Thx !
|
|
|
|
|
|
|
PUArcade version: 2.3, PHP version: 5.2.5, DB ver: 4.1.22-max-log, Webserver to PHP interface: cgi-fcgi, PHP Safe Mode: FALSE, J1.5.7, newscore.php & arcade.php has the correct permissions - No SEO/SEF - No JAccelerator
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:UddeIM Plugin 1 Month, 3 Weeks ago
|
Karma: 0
|
Great work!
Just one problem though; the link in the PM opens in a new window. How would we be able to change that to open in the same window?
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:UddeIM Plugin 1 Month, 3 Weeks ago
|
Karma: 0
|
|
Thks a lot for your efforts, JGB - installed on J1.0.x and works fine.
Regards,
heli07at
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:UddeIM Plugin 1 Month, 3 Weeks ago
|
Karma: 9
|
bandlink wrote:
QUOTE: Great work! :)
Just one problem though; the link in the PM opens in a new window. How would we be able to change that to open in the same window?
Not sure... will need to look...
Can you have a look and see if there is some sort of Uddeim function about links on where they open?
In the meantime I'll see if its possible to do it programatically.
Regards,
James.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:UddeIM Plugin 1 Month, 3 Weeks ago
|
Karma: 0
|
In components/com_uddeim/bbparser.php we have this code:
| Code: |
// url replacement
//make regular HTML URL links targets _blank, bbCode URL translation
$string = preg_replace('/\[url\](.*?)javascript(.*?)\[\/url\]/si','<span style=\'text-decoration: line-through\'>javascript link</span>',$string);
$string = preg_replace('/\[url=(.*?)javascript(.*?)\](.*?)\[\/url\]/si','<span style=\'text-decoration: line-through\'>javascript link</span>',$string);
// if comprofiler in link, make link to top instead of blank
// this is very bad since when we have two links (a link without comprofiler and a link with comprofiler) this matches both
// $string = preg_replace("/\[url\](.*?)comprofiler(.*?)\[\/url\]/si","<a href=\\1comprofiler\\2 target=\"_top\">\\1comprofiler\\2</a>",$string);
// $string = preg_replace("/\[url=(.*?)comprofiler(.*?)\](.*?)\[\/url\]/si","<a href=\"\\1comprofiler\\2\" target=\"_top\">\\3</a>",$string);
// now the rest of the links to blank
$string = preg_replace("/\[url\](.*?)\[\/url\]/si","<a href=\\1 target=\"_blank\">\\1</a>",$string);
$string = preg_replace("/\[url=(.*?)\](.*?)\[\/url\]/si","<a href=\"\\1\" target=\"_blank\">\\2</a>",$string);
|
I think this is probably where to look. Maybe use the comprofiler code to make a hack that turns com_puarcade links into _top links?
|
|
|
|
|
|
|
Last Edit: 2008/09/30 00:28 By bandlink.
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:UddeIM Plugin 1 Month, 3 Weeks ago
|
Karma: 5
|
heli07at wrote:
QUOTE: Thks a lot for your efforts, JGB - installed on J1.0.x and works fine.
Regards,
heli07at
not working  on j 1.0
special settings in uddeim?
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:UddeIM Plugin 1 Month, 3 Weeks ago
|
Karma: 0
|
pimboli wrote:
QUOTE: heli07at wrote:
QUOTE: Thks a lot for your efforts, JGB - installed on J1.0.x and works fine.
Regards,
heli07at
not working :( on j 1.0
special settings in uddeim?
No special settings in uddeim - it worked right out of the box. 
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
ruud (User)
Gamer
Posts: 113
|
|
Re:UddeIM Plugin 1 Month, 3 Weeks ago
|
Karma: 3
|
Wow, it almost works perfect in joomla 1.5.7! This is so good
The link in the pm looks like this: http://www.xxxxxx.com/index.php?option=com_puarcade&Itemid=198&gid=13
The only thing is that the game system does send a pm but it doesn't send an email.
When I send a "normal" pm then there will be send an email so there must be something wrong with the plugin in combination with joomla 1.5.7 I guess?
Well, the most important thing is that the pm works and the email would be a nice extra option 
|
|
|
|
|
|
|
Last Edit: 2008/09/30 13:31 By ruud.
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:UddeIM Plugin 1 Month, 2 Weeks ago
|
Karma: 6
|
Great Job
now even the CB login module notifies...
Thanks, only the Itemid needs to be added as a parameter
and the parent window link thing instead of blank.
this is the last trick!
Just an idea... with some bbcode maybe it's probably also possible to display the game picture  ))
?
regards
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:UddeIM Plugin 1 Month, 2 Weeks ago
|
Karma: 5
|
|
what do you think : how must i change the code for puarcade 2.2
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:UddeIM Plugin 1 Month, 2 Weeks ago
|
Karma: 6
|
bandlink wrote:
QUOTE: In components/com_uddeim/bbparser.php we have this code:
| Code: |
// url replacement
//make regular HTML URL links targets _blank, bbCode URL translation
$string = preg_replace('/\[url\](.*?)javascript(.*?)\[\/url\]/si','<span style=\'text-decoration: line-through\'>javascript link</span>',$string);
$string = preg_replace('/\[url=(.*?)javascript(.*?)\](.*?)\[\/url\]/si','<span style=\'text-decoration: line-through\'>javascript link</span>',$string);
// if comprofiler in link, make link to top instead of blank
// this is very bad since when we have two links (a link without comprofiler and a link with comprofiler) this matches both
// $string = preg_replace("/\[url\](.*?)comprofiler(.*?)\[\/url\]/si","<a href=\\1comprofiler\\2 target=\"_top\">\\1comprofiler\\2</a>",$string);
// $string = preg_replace("/\[url=(.*?)comprofiler(.*?)\](.*?)\[\/url\]/si","<a href=\"\\1comprofiler\\2\" target=\"_top\">\\3</a>",$string);
// now the rest of the links to blank
$string = preg_replace("/\[url\](.*?)\[\/url\]/si","<a href=\\1 target=\"_blank\">\\1</a>",$string);
$string = preg_replace("/\[url=(.*?)\](.*?)\[\/url\]/si","<a href=\"\\1\" target=\"_blank\">\\2</a>",$string);
|
I think this is probably where to look. Maybe use the comprofiler code to make a hack that turns com_puarcade links into _top links?
Yes Bandlink, you got it:
uncommenting the 2 comprofiler lines and replacing in these two lines the word 'comprofiler' by 'puarcade' makes every puarcade link in private messages to open in the same window (top link).
Now it works great!
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:UddeIM Plugin 1 Month, 2 Weeks ago
|
Karma: 0
|
Yes, I just tested it myself.
I was worried that having a com_puarcade link and a link elsewhere in the same PM would cause some issues but just tried sending a PM and the com_puarcade link opened in the same window and the other link opened in a new window!
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
ruud (User)
Gamer
Posts: 113
|
|
Re:UddeIM Plugin 1 Month, 1 Week ago
|
Karma: 3
|
Is it possible to post the fixed code here? I keep staring at it but that wont fix the problem
I dont know how to uncomment the code and where
adroussel wrote:
QUOTE: bandlink wrote:
QUOTE: In components/com_uddeim/bbparser.php we have this code:
| Code: |
// url replacement
//make regular HTML URL links targets _blank, bbCode URL translation
$string = preg_replace('/\[url\](.*?)javascript(.*?)\[\/url\]/si','<span style=\'text-decoration: line-through\'>javascript link</span>',$string);
$string = preg_replace('/\[url=(.*?)javascript(.*?)\](.*?)\[\/url\]/si','<span style=\'text-decoration: line-through\'>javascript link</span>',$string);
// if comprofiler in link, make link to top instead of blank
// this is very bad since when we have two links (a link without comprofiler and a link with comprofiler) this matches both
// $string = preg_replace("/\[url\](.*?)comprofiler(.*?)\[\/url\]/si","<a href=\\1comprofiler\\2 target=\"_top\">\\1comprofiler\\2</a>",$string);
// $string = preg_replace("/\[url=(.*?)comprofiler(.*?)\](.*?)\[\/url\]/si","<a href=\"\\1comprofiler\\2\" target=\"_top\">\\3</a>",$string);
// now the rest of the links to blank
$string = preg_replace("/\[url\](.*?)\[\/url\]/si","<a href=\\1 target=\"_blank\">\\1</a>",$string);
$string = preg_replace("/\[url=(.*?)\](.*?)\[\/url\]/si","<a href=\"\\1\" target=\"_blank\">\\2</a>",$string);
|
I think this is probably where to look. Maybe use the comprofiler code to make a hack that turns com_puarcade links into _top links?
Yes Bandlink, you got it:
uncommenting the 2 comprofiler lines and replacing in these two lines the word 'comprofiler' by 'puarcade' makes every puarcade link in private messages to open in the same window (top link).
Now it works great!
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:UddeIM Plugin 1 Month, 1 Week ago
|
| | |