vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - GRPS: Groups Commune 2.0.x (https://vborg.vbsupport.ru/showthread.php?t=127303)

sabret00the 10-19-2006 02:45 PM

Quote:

Originally Posted by nix
PHP Code:

Database error in vBulletin 3.6.1:

Invalid SQL:

    
SELECT user.useriduser.avatariduser.avatarrevisionavatar.avatarpathNOT ISNULL(customavatar.userid) AS hascustomavatarcustomavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
    FROM user 
AS user
    LEFT JOIN avatar 
AS avatar ON avatar.avatarid user.avatarid
    LEFT JOIN customavatar 
AS customavatar ON customavatar.userid user.userid
    WHERE user
.userid IN(0,);

MySQL Error  You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 5
Error Number 
1064
Date         
ThursdayOctober 19th 2006 10:36:48 AM
Script       
: /groups/groups.php?g=1
Referrer     
: /groups/browse.php?c=5
IP Address   

Username     
Classname    vb_database 

no it diddnt.

right, this ones tested and working.

sabret00the 10-19-2006 03:32 PM

This hack has now been declared gold.

sabret00the 10-19-2006 03:53 PM

:o the zip file has now been uploaded.

djtheropy 10-19-2006 04:29 PM

hi, i got problem with some images not showing in threads, any ideas?

[edit]
also the drop-down menu dont seem to work, i have tried re-installing and uploading files again

http://www.mycyc.com/groups/viewthread.php?g=2&t=5

kj_ugs 10-19-2006 04:31 PM

Will this hack change the layout of my current forums home page? I dont want it to change that if possible.

sabret00the 10-19-2006 04:33 PM

Quote:

Originally Posted by kj_ugs
Will this hack change the layout of my current forums home page? I dont want it to change that if possible.

no it won't.

djtheropy 10-19-2006 04:43 PM

Quote:

Originally Posted by kj_ugs
Will this hack change the layout of my current forums home page? I dont want it to change that if possible.

no it wont, it is installed into a directory of its own and does not alter any forum templates

kj_ugs 10-19-2006 04:45 PM

Fantastic.

sabret00the 10-19-2006 04:50 PM

Quote:

Originally Posted by djtheropy
hi, i got problem with some images not showing in threads, any ideas?

[edit]
also the drop-down menu dont seem to work, i have tried re-installing and uploading files again

http://www.mycyc.com/groups/viewthread.php?g=2&t=5

drop downs are working fine in both browsers for me. as for your postbit images, there's a vBulletin option to fix those. as for your malformed avatar image
reupload the plugin, i've just updated it.

alternatively find the instances of
PHP Code:

400200); return false;"> 

and
PHP Code:

400200'$vbulletin->options['bburl']'); return false;"> 

and remove the spaces

nix 10-19-2006 04:59 PM

Quote:

Originally Posted by sabret00the
right, this ones tested and working.

yup. That one fixed it. thanks!

djtheropy 10-19-2006 05:01 PM

re-uploaded product and still didnt fix it.

if i remove
Quote:

image.php, src="customavatars/, src="images/smilies/, member.php, private.php, search.php, sendmessage.php, profile.php, <!-- / post #, imwindow, 400, 200); return false;">, images/avatars/, <span id="reputationmenu, Reputation" border="0" /></a></span>, src="$stylevar['imgdir_button']/infraction.gif"
and
Quote:

$vbulletin->options['bburl']/image.php, src="$vbulletin->options['bburl']/customavatars/, src="$vbulletin->options['bburl']/images/smilies/, $vbulletin->options['bburl']/member.php, $vbulletin->options['bburl']/private.php, $vbulletin->options['bburl']/search.php, $vbulletin->options['bburl']/sendmessage.php, $vbulletin->options['bburl']/profile.php, <hr style="visibility: hidden; padding: 0.25em 0 0 0; margin: 0; line-height: 0em" />{\n\n}<!-- / post #, grps_imwindow, 400, 200, '$vbulletin->options['bburl']'); return false;">, $vbulletin->options['bburl']/images/avatars/, <!-- <span id="reputationmenu, Reputation" border="0" /></a></span> -->, src="$vbulletin->options['bburl']/clear.gif" width="0" height="0", $vbulletin->options['bburl']/pager.php, $vbulletin->options['bburl']/sr_classifieds.php
from settings, the images work again.

sabret00the 10-19-2006 05:05 PM

that's cause you've saved over the default. replace those two with
PHP Code:

image.phpsrc="customavatars/, src="images/smilies/, member.php, private.phpsearch.phpsendmessage.phpprofile.php, <!-- / post #, imwindow, 200); return false;">, images/avatars/, <span id="reputationmenu, Reputation" border="0" /></a></span>, src="$stylevar['imgdir_button']/infraction.gif" 

and
PHP Code:

$vbulletin->options['bburl']/image.phpsrc="$vbulletin->options['bburl']/customavatars/, src="$vbulletin->options['bburl']/images/smilies/, $vbulletin->options['bburl']/member.php$vbulletin->options['bburl']/private.php$vbulletin->options['bburl']/search.php$vbulletin->options['bburl']/sendmessage.php$vbulletin->options['bburl']/profile.php, <hr style="visibility: hidden; padding: 0.25em 0 0 0; margin: 0; line-height: 0em" />{\n\n}<!-- / post #, grps_imwindow, 200,'$vbulletin->options['bburl']'); return false;">, $vbulletin->options['bburl']/images/avatars/, <!-- <span id="reputationmenu, Reputation" border="0" /></a></span> -->, src="$vbulletin->options['bburl']/clear.gif" width="0" height="0", $vbulletin->options['bburl']/pager.php, $vbulletin->options['bburl']/sr_classifieds.php 

and that's you sorted :)

sabret00the 10-19-2006 05:06 PM

Quote:

Originally Posted by nix
yup. That one fixed it. thanks!

yup, yours was the last official bug ;)

nix 10-19-2006 05:10 PM

got this bug now.

PHP Code:

forums/images/avatars/_1"> 

its stretching the postbit_leg.

djtheropy 10-19-2006 05:12 PM

Quote:

Originally Posted by nix
got this bug now.

PHP Code:

forums/images/avatars/_1"> 

its stretching the postbit_leg.

read the fix that was just given to me :)

nix 10-19-2006 05:13 PM

doh. just seen it.

djtheropy 10-19-2006 05:15 PM

Quote:

Originally Posted by sabret00the
that's cause you've saved over the default. replace those two with
PHP Code:

image.phpsrc="customavatars/, src="images/smilies/, member.php, private.phpsearch.phpsendmessage.phpprofile.php, <!-- / post #, imwindow, 200); return false;">, images/avatars/, <span id="reputationmenu, Reputation" border="0" /></a></span>, src="$stylevar['imgdir_button']/infraction.gif" 

and
PHP Code:

$vbulletin->options['bburl']/image.phpsrc="$vbulletin->options['bburl']/customavatars/, src="$vbulletin->options['bburl']/images/smilies/, $vbulletin->options['bburl']/member.php$vbulletin->options['bburl']/private.php$vbulletin->options['bburl']/search.php$vbulletin->options['bburl']/sendmessage.php$vbulletin->options['bburl']/profile.php, <hr style="visibility: hidden; padding: 0.25em 0 0 0; margin: 0; line-height: 0em" />{\n\n}<!-- / post #, grps_imwindow, 200,'$vbulletin->options['bburl']'); return false;">, $vbulletin->options['bburl']/images/avatars/, <!-- <span id="reputationmenu, Reputation" border="0" /></a></span> -->, src="$vbulletin->options['bburl']/clear.gif" width="0" height="0", $vbulletin->options['bburl']/pager.php, $vbulletin->options['bburl']/sr_classifieds.php 

and that's you sorted :)

seems to be working, now i have another prob.

the create group link (in drop-down) seems to be pointing to http://www.mycyc.com/forums/?do=creategroup

instead of

http://www.mycyc.com/groups/?do=creategroup

[edit]

also get this

fetch_avatarcache() is now depreciated, please use fetch_avatar_url()
fetch_avatarcache() is now depreciated, please use fetch_avatar_url()

http://www.mycyc.com/groups/viewmembers.php?g=3

Endurer 10-19-2006 05:35 PM

Amazing stuff. It's working perfectly now and all of the previous problems are gone. The only problem I have at the moment is that the groups/viewmembers.php is giving me a blank page.

djtheropy 10-19-2006 05:37 PM

Quote:

Originally Posted by Endurer
Amazing stuff. It's working perfectly now and all of the previous problems are gone. The only problem I have at the moment is that the groups/viewmembers.php is giving me a blank page.

have u tried re-uploading the single file?

nix 10-19-2006 05:46 PM

Quote:

Originally Posted by djtheropy
read the fix that was just given to me :)

what template did you fix? I've tried to reupload the plugin and that didn't fix it.

djtheropy 10-19-2006 05:50 PM

read post 531 & 532

sabret00the 10-19-2006 05:53 PM

Quote:

Originally Posted by djtheropy
seems to be working, now i have another prob.

the create group link (in drop-down) seems to be pointing to http://www.mycyc.com/forums/?do=creategroup

instead of

http://www.mycyc.com/groups/?do=creategroup

[edit]

also get this

fetch_avatarcache() is now depreciated, please use fetch_avatar_url()
fetch_avatarcache() is now depreciated, please use fetch_avatar_url()

http://www.mycyc.com/groups/viewmembers.php?g=3

redownload the zip and reupload viewmembers.php i had an old version in there by mistake, sorry about that. as for your creategroup problem, you have either an SEO tool or .htaccess rewriting urls to remove "index.php" you really need to disable that for the groups directory.

sabret00the 10-19-2006 05:54 PM

Quote:

Originally Posted by Endurer
Amazing stuff. It's working perfectly now and all of the previous problems are gone. The only problem I have at the moment is that the groups/viewmembers.php is giving me a blank page.

can you make sure the "groups_display_memberbit" template is present on all styles please.

djtheropy 10-19-2006 06:01 PM

Quote:

Originally Posted by sabret00the
redownload the zip and reupload viewmembers.php i had an old version in there by mistake, sorry about that. as for your creategroup problem, you have either an SEO tool or .htaccess rewriting urls to remove "index.php" you really need to disable that for the groups directory.

fixed, it was zoints seo interfering, i edited gprs navbar template and changed the url to point to the absolute path.

thx

sabret00the 10-19-2006 06:11 PM

Quote:

Originally Posted by djtheropy
fixed, it was zoints seo interfering, i edited gprs navbar template and changed the url to point to the absolute path.

thx

nice. that was indeed a bug from back like RC5, a lot of people had to choose between one or the other :(

Cheertobi 10-19-2006 06:42 PM

Hi,

anyone using this sweetie together with vBSEO?!

Tobi

tazB.ca 10-19-2006 06:49 PM

Quote:

Originally Posted by sabret00the
nice. that was indeed a bug from back like RC5, a lot of people had to choose between one or the other :(

O SO THIS IS NOW WORKING WITH SEO?....:)

bada_bing 10-19-2006 07:51 PM

Ok just upgraded to GOLD and now all my past upgrades went well now when I tried to install the plugin I get this

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'GRPS: Print No Permission Page Fix', 'error_nopermission', 'if (THIS_AREA == \'groups\')\r\n{\r\n$vbulletin->templatecache[\'STANDARD_ERROR\'] = str_replace(\r\n array(\r\n \'login.php\',\r\n \'profile.php\',\r\n \'register.php\',\r\n ),\r\n array(\r\n $vbulletin->options[\'bburl\'] . \'/login.php\',\r\n $vbulletin->options[\'bburl\'] . \'/profile.php\',\r\n $vbulletin->options[\'bburl\'] . \'/register.php\',\r\n ),\r\n $vbulletin->templatecache[\'STANDARD_ERROR\']\r\n);\r\n}', 'groupscommune');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Thursday, October 19th 2006 @ 08:49:50 PM
Script : http://www.seekingadultfriends.com/f...ncp/plugin.php
Referrer : http://www.seekingadultfriends.com/f...?do=productadd
IP Address : 65.221.183.30
Username : Administrator
Classname : vB_Database

Shmee 10-19-2006 09:17 PM

Congrats Sabre! Now I can install..

sabret00the 10-19-2006 09:26 PM

Quote:

Originally Posted by bada_bing
Ok just upgraded to GOLD and now all my past upgrades went well now when I tried to install the plugin I get this

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'GRPS: Print No Permission Page Fix', 'error_nopermission', 'if (THIS_AREA == \'groups\')\r\n{\r\n$vbulletin->templatecache[\'STANDARD_ERROR\'] = str_replace(\r\n array(\r\n \'login.php\',\r\n \'profile.php\',\r\n \'register.php\',\r\n ),\r\n array(\r\n $vbulletin->options[\'bburl\'] . \'/login.php\',\r\n $vbulletin->options[\'bburl\'] . \'/profile.php\',\r\n $vbulletin->options[\'bburl\'] . \'/register.php\',\r\n ),\r\n $vbulletin->templatecache[\'STANDARD_ERROR\']\r\n);\r\n}', 'groupscommune');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Thursday, October 19th 2006 @ 08:49:50 PM
Script : http://www.seekingadultfriends.com/f...ncp/plugin.php
Referrer : http://www.seekingadultfriends.com/f...?do=productadd
IP Address : 65.221.183.30
Username : Administrator
Classname : vB_Database

check the front page of the site. there's the 3.5.x compliant product (plugin). use that instead of this one.

sabret00the 10-19-2006 09:26 PM

Quote:

Originally Posted by tazB.ca
O SO THIS IS NOW WORKING WITH SEO?....:)

not that i know of.

sabret00the 10-19-2006 09:27 PM

Quote:

Originally Posted by Shmee
Congrats Sabre! Now I can install..

Good Luck

vphost 10-19-2006 10:43 PM

Noticed one of the option when editing group

"Hide Group Image On Group Pages", I was not able to select it at all.

I had "Hidden Group" checked/unchecked when trying

Not sure what its usability is

nix 10-19-2006 10:45 PM

Quote:

Originally Posted by sabret00the
that's cause you've saved over the default. replace those two with
PHP Code:

image.phpsrc="customavatars/, src="images/smilies/, member.php, private.phpsearch.phpsendmessage.phpprofile.php, <!-- / post #, imwindow, 200); return false;">, images/avatars/, <span id="reputationmenu, Reputation" border="0" /></a></span>, src="$stylevar['imgdir_button']/infraction.gif" 

and
PHP Code:

$vbulletin->options['bburl']/image.phpsrc="$vbulletin->options['bburl']/customavatars/, src="$vbulletin->options['bburl']/images/smilies/, $vbulletin->options['bburl']/member.php$vbulletin->options['bburl']/private.php$vbulletin->options['bburl']/search.php$vbulletin->options['bburl']/sendmessage.php$vbulletin->options['bburl']/profile.php, <hr style="visibility: hidden; padding: 0.25em 0 0 0; margin: 0; line-height: 0em" />{\n\n}<!-- / post #, grps_imwindow, 200,'$vbulletin->options['bburl']'); return false;">, $vbulletin->options['bburl']/images/avatars/, <!-- <span id="reputationmenu, Reputation" border="0" /></a></span> -->, src="$vbulletin->options['bburl']/clear.gif" width="0" height="0", $vbulletin->options['bburl']/pager.php, $vbulletin->options['bburl']/sr_classifieds.php 

and that's you sorted :)

nm i got it. Thanks.

bada_bing 10-19-2006 10:55 PM

Quote:

Originally Posted by sabret00the
check the front page of the site. there's the 3.5.x compliant product (plugin). use that instead of this one.

Awwww OK I will grab it from there... Just a thought maybe just have both the 3.5.x & the 3.6.x plugin both in this thread that way it's less confusing that way but I understand the reason for two threads

ChurchMedia 10-19-2006 11:08 PM

I'm sorry if this has been addressed -- I searched and couldn't find it. I'm so close to getting my groups section going I can taste it :)

Here's my problem:

The avatar in the "Group Info" box shows up fine. But anywhere else it's not showing up (red x). The properties for the image looks like this:

Code:

http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars/avatar1_35.gif
So, it's doubling the bburl. I've tried changing the replacement settings -- no luck.

Any ideas? URL is http://www.churchmedia.net/groups

Either way, here comes a donation to sabret00the. As a coder and a full-time VB webmaster myself, I encourage everyone to send him something. He didn't have to give this away. // End of sermon ;)

nix 10-19-2006 11:41 PM

I think i got everything working well now. One nice feature would be to have a choice between postbit and postbit_leg just in the groups. I use post_leg on the forums but we have a fixed width skin and it makes the groups forum kind of small. Would be a great feature to be able to just use postbit for the groups.

vphost 10-20-2006 12:40 AM

Unable to join group?

I tried join a created group, this group is public, UserGroup option "Can Join Groups?" is set to Yes.
When I try the option "Join GroupName", it takes me to a page (/groups/membership.php?g=GROUP#) displaying group name and nothing more.

When I click on the link to go back to the group, the member display is still 1 (the group leader) and no other new members.

sabret00the 10-20-2006 04:01 AM

Quote:

Originally Posted by ChurchMedia
I'm sorry if this has been addressed -- I searched and couldn't find it. I'm so close to getting my groups section going I can taste it :)

Here's my problem:

The avatar in the "Group Info" box shows up fine. But anywhere else it's not showing up (red x). The properties for the image looks like this:

Code:

http://www.churchmedia.net/CMN/http://www.churchmedia.net/CMN/customavatars/avatar1_35.gif
So, it's doubling the bburl. I've tried changing the replacement settings -- no luck.

Any ideas? URL is http://www.churchmedia.net/groups

Either way, here comes a donation to sabret00the. As a coder and a full-time VB webmaster myself, I encourage everyone to send him something. He didn't have to give this away. // End of sermon ;)

Thank you for your donation. erm can i ask, what's your avatarurl set as?

if you dunno how to retreive it;
AdminCP => User Picture Storage Type => Move Avatars to a Different Directory => URL to avatars.

sabret00the 10-20-2006 04:16 AM

OK here's a patch until i get feedback from ChurchMedia as to his avatar problems, if it's a core problem as opposed to configuration error, the fix will get into the next release.

Attachment 54902 fixes the problem of not remembering the "hide image" setting.
Attachment 54903 fixes problem of not displaying forms.


All times are GMT. The time now is 10:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02778 seconds
  • Memory Usage 1,906KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (11)bbcode_php_printable
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete