Author Topic: Is their a group limit for variable displays?  (Read 8323 times)

0 Members and 1 Guest are viewing this topic.

sanjosemike

  • Jr. Member
  • **
  • Posts: 1
Is their a group limit for variable displays?
« on: February 03, 2011, 07:00:39 PM »
Hi. I didn't actually do the development work on the site I am having this issue on, but I have taken over the management of the site. Long story short the previous company who developed the site is not...in communications with us anymore.

So here is the setup:

Our website is a Drupal based site. Each sales person (operator) is placed within their own group (this was done so that if they hired assistants they could be added to their chat. Each sales person also has a unique page with the chat button code placed within a drupal block. Rather than create a unique block for every single page a single block was used with the following code:

Code: [Select]
<!-- webim button --><a href="/webim/client.php?locale=en&amp;style=simplicity&amp;group=[field_sjcvb_webim_group_value]" target="_blank" onclick="if(navigator.userAgent.toLowerCase().indexOf('opera') != -1 &amp;&amp; window.event.preventDefault) window.event.preventDefault();this.newWindow = window.open('/webim/client.php?locale=en&amp;style=simplicity&amp;group=[field_sjcvb_webim_group_value]&amp;url='+escape(document.location.href)+'&amp;referrer='+escape(document.referrer), 'webim', 'toolbar=0,scrollbars=0,location=0,status=1,menubar=0,width=640,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><img src="/webim/button.php?i=sjcvb&amp;lang=en&amp;group=[field_sjcvb_webim_group_value]" border="0" width="130" height="38" alt=""/></a><!-- / webim button -->
The only difference I can see between this code and the button code from the webim console that is generated is that we have "[field_sjcvb_webim_group_value]" instead of indicating the specific group id "4".

Now when I went from 6 to 9 sales people added to our site, no issues arose. The process went something like: new sales person comes on. Operator account is created, group is created. Sales page is created. The chat box appears.

But now I've just added sales person number 10 and the chat box won't show up. If I manually enter in the id for the group such as "group=10" it will show up, but otherwise it won't. While the initial fix is just to make a unique Drupal chat block to be displayed on each sales persons page, that makes for tedious work and isn't really efficient.

Has anyone else had this problem before? Is it an issue with WebIM or is ti an issue with Drupal? (note: I am also asking this question ont he Drupal Boards as well.)
« Last Edit: February 03, 2011, 07:06:18 PM by sanjosemike »