Finding Subscriptions JavaScript

17 years 1 month ago #34659 by fcarroll
Finding Subscriptions JavaScript was created by fcarroll
I'm looking for where the javascript which outputs the div where 'Subscriptions' & the relevant message (such as 'No subscriptions found for you') lies. The closest I can seem to find is the following from the 'cbconnector.php' file
[code:1]
if ($my->id == $user->id and showSubscriptions() and $forum->subscriptionsAllowed()) {
$return .="<div id='subscriptions'>\n";
$return .="<a>"._CBC_LOADINGDATA."</a>\n";
//$return .="<form id='subscriptions'>\n";
//$return .= $this->SubscriptionArea($forumid);
//$return .= "\n</form>";
$return .= "<script>\n";
$return .= "xajax_showSubscriptionsHTML(".$forumid."«»);\n";
$return .= "</script>\n";
$return .= "\n</div>";
[/code:1]
So I think I need to find where the function xajax_showSubscriptionsHTML(whatever) lies.

Any pointers would be appreciated

Post edited by: fcarroll, at: 2007/03/30 17:34

Please Log in to join the conversation.

17 years 1 month ago #34665 by geeffland
Replied by geeffland on topic Re:Finding Subscriptions JavaScript
I would prefer that CB Connector V2 Alpha question get posted on cbconnector.com in the Alpha forum so it does not confuse users of the previous version...

the function you are looking for is in cbconnector.xjx.php

Do you have any phpBB mods installed which affect subscriptions?

Lets continue this discussion on the cbconnector Alpha 3 forum...

Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in to join the conversation.

17 years 1 month ago #34737 by fcarroll
Replied by fcarroll on topic Re:Finding Subscriptions JavaScript
Of course, my apologies.

Continued thread:

cbconnector.com/forum/viewtopic.php?p=211#211

Please Log in to join the conversation.

Moderators: beatnantgeefflandmartijn189krileon
Time to create page: 0.181 seconds

Facebook Twitter LinkedIn