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)

ronoxQ 09-24-2006 08:09 PM

Quote:

Originally Posted by sabret00the
1. the no permission page is showing for guests, you're however getting blank pages?

2. the queries are in place for uCS it wouldn't be hard for someone to release a vBplaza hack for it, it's just a matter of tweaking the queries.

1) Whoops. Fixed that.

2) I hope somebody does...

ericgtr 09-24-2006 08:12 PM

Sure, these are all correct but I cannot get the $img_forums right no matter what, I've tried the actual URL as well as /home/public_html/mysite/images regardless of what I try it puts a /group before the images.
PHP Code:

Array
(
    [
codeblockwidth] => 480px
    
[imgdir_attach] => images/kirsch/attach
    
[imgdir_button] => images/kirsch/buttons
    
[imgdir_editor] => images/kirsch/editor
    
[imgdir_misc] => images/kirsch/misc
    
[imgdir_poll] => images/kirsch/polls
    
[imgdir_rating] => images/kirsch/rating
    
[imgdir_reputation] => images/kirsch/reputation
    
[imgdir_statusicon] => images/kirsch/statusicon
    
[outertablewidth] => 95%
    [
spacersize] => 20
    
[titleimage] => images/kirsch/misc/banner.jpg
    
[cellpadding] => 6
    
[cellspacing] => 1
    
[closedthreadimage] => images2/buttons/threadclosed.gif
    
[contenttype] => text/htmlcharset=ISO-8859-1
    
[formspacer] => 3
    
[formwidth] => 640px
    
[formwidth_usercp] => 480px
    
[htmldoctype] => 
    [
htmlextrasfolder] => htmlextras
    
[imagesfolder] => images
    
[messagewidth] => 540px
    
[messagewidth_usercp] => 380px
    
[newreplyimage] => images2/buttons/reply.gif
    
[newthreadimage] => images2/buttons/newthread.gif
    
[outerborderwidth] => 20
    
[tablewidth] => 100%
    [
textareacols_ie4] => 70
    
[textareacols_ns4] => 50
    
[textareacols_ns6] => 65
    
[textdirection] => ltr
    
[left] => left
    
[right] => right
    
[languagecode] => en
    
[charset] => ISO-8859-1
    
[body_bgcolor] => #FFFFFF
    
[body_fgcolor] => #000000
    
[page_bgcolor] => #FFFFFF
    
[page_fgcolor] => #000000
    
[tborder_bgcolor] => #FFFFFF
    
[tborder_fgcolor] => #000000
    
[tcat_bgcolor] => #869BBF
    
[tcat_fgcolor] => #000000
    
[thead_bgcolor] => #5C7099
    
[thead_fgcolor] => #000000
    
[tfoot_bgcolor] => #31688E
    
[tfoot_fgcolor] => #FFFFFF
    
[alt1_bgcolor] => #F5F7F9
    
[alt1_fgcolor] => #000000
    
[alt2_bgcolor] => #EEF0F2
    
[alt2_fgcolor] => #000000
    
[td.inlinemod_bgcolor] => #FFFFCC
    
[td.inlinemod_fgcolor] => #000000
    
[wysiwyg_bgcolor] => #FFFFFF
    
[wysiwyg_fgcolor] => #000000
    
[time_fgcolor] => #999999
    
[highlight_fgcolor] => #FF0000
    
[fjsel_bgcolor] => #3E5C92
    
[fjsel_fgcolor] => #E0E0F6
    
[fjdpth0_bgcolor] => #F7F7F7
    
[fjdpth0_fgcolor] => #000000
    
[panel_bgcolor] => #E4E7F5
    
[panel_fgcolor] => #000000
    
[panelsurround_bgcolor] => #D5D8E5
    
[panelsurround_fgcolor] => #000000
    
[legend_fgcolor] => #22229C
    
[vbmenu_control_bgcolor] => #31688E
    
[vbmenu_control_fgcolor] => #FFFFFF
    
[vbmenu_popup_bgcolor] => #FFFFFF
    
[vbmenu_popup_fgcolor] => #000000
    
[vbmenu_option_bgcolor] => #F5F7F9
    
[vbmenu_option_fgcolor] => #000000
    
[vbmenu_hilite_bgcolor] => #EEF0F2
    
[vbmenu_hilite_fgcolor] => #000000
    
[outerdivwidth] => 95%
    [
divwidth] => auto
    
[imgdir_grps] => images/grps



sabret00the 09-24-2006 08:28 PM

Quote:

Originally Posted by ericgtr
Sure, these are all correct but I cannot get the $img_forums right no matter what, I've tried the actual URL as well as /home/public_html/mysite/images regardless of what I try it puts a /group before the images.
PHP Code:

Array
(
    [
codeblockwidth] => 480px
    
[imgdir_attach] => images/kirsch/attach
    
[imgdir_button] => images/kirsch/buttons
    
[imgdir_editor] => images/kirsch/editor
    
[imgdir_misc] => images/kirsch/misc
    
[imgdir_poll] => images/kirsch/polls
    
[imgdir_rating] => images/kirsch/rating
    
[imgdir_reputation] => images/kirsch/reputation
    
[imgdir_statusicon] => images/kirsch/statusicon
    
[outertablewidth] => 95%
    [
spacersize] => 20
    
[titleimage] => images/kirsch/misc/banner.jpg
    
[cellpadding] => 6
    
[cellspacing] => 1
    
[closedthreadimage] => images2/buttons/threadclosed.gif
    
[contenttype] => text/htmlcharset=ISO-8859-1
    
[formspacer] => 3
    
[formwidth] => 640px
    
[formwidth_usercp] => 480px
    
[htmldoctype] => 
    [
htmlextrasfolder] => htmlextras
    
[imagesfolder] => images
    
[messagewidth] => 540px
    
[messagewidth_usercp] => 380px
    
[newreplyimage] => images2/buttons/reply.gif
    
[newthreadimage] => images2/buttons/newthread.gif
    
[outerborderwidth] => 20
    
[tablewidth] => 100%
    [
textareacols_ie4] => 70
    
[textareacols_ns4] => 50
    
[textareacols_ns6] => 65
    
[textdirection] => ltr
    
[left] => left
    
[right] => right
    
[languagecode] => en
    
[charset] => ISO-8859-1
    
[body_bgcolor] => #FFFFFF
    
[body_fgcolor] => #000000
    
[page_bgcolor] => #FFFFFF
    
[page_fgcolor] => #000000
    
[tborder_bgcolor] => #FFFFFF
    
[tborder_fgcolor] => #000000
    
[tcat_bgcolor] => #869BBF
    
[tcat_fgcolor] => #000000
    
[thead_bgcolor] => #5C7099
    
[thead_fgcolor] => #000000
    
[tfoot_bgcolor] => #31688E
    
[tfoot_fgcolor] => #FFFFFF
    
[alt1_bgcolor] => #F5F7F9
    
[alt1_fgcolor] => #000000
    
[alt2_bgcolor] => #EEF0F2
    
[alt2_fgcolor] => #000000
    
[td.inlinemod_bgcolor] => #FFFFCC
    
[td.inlinemod_fgcolor] => #000000
    
[wysiwyg_bgcolor] => #FFFFFF
    
[wysiwyg_fgcolor] => #000000
    
[time_fgcolor] => #999999
    
[highlight_fgcolor] => #FF0000
    
[fjsel_bgcolor] => #3E5C92
    
[fjsel_fgcolor] => #E0E0F6
    
[fjdpth0_bgcolor] => #F7F7F7
    
[fjdpth0_fgcolor] => #000000
    
[panel_bgcolor] => #E4E7F5
    
[panel_fgcolor] => #000000
    
[panelsurround_bgcolor] => #D5D8E5
    
[panelsurround_fgcolor] => #000000
    
[legend_fgcolor] => #22229C
    
[vbmenu_control_bgcolor] => #31688E
    
[vbmenu_control_fgcolor] => #FFFFFF
    
[vbmenu_popup_bgcolor] => #FFFFFF
    
[vbmenu_popup_fgcolor] => #000000
    
[vbmenu_option_bgcolor] => #F5F7F9
    
[vbmenu_option_fgcolor] => #000000
    
[vbmenu_hilite_bgcolor] => #EEF0F2
    
[vbmenu_hilite_fgcolor] => #000000
    
[outerdivwidth] => 95%
    [
divwidth] => auto
    
[imgdir_grps] => images/grps



ok, the problem isn't down to the whole img_forums thing, in fact that's not even in RC3 at all.

you need to set your images in your admincp, in your style settings, change images/kirsch/attach => www.yoursite.com/forums/images/kirsch/attach

sabret00the 09-24-2006 08:30 PM

Quote:

Originally Posted by hippsta
Ok that problem is solved.. ^.^ /cheer.. i AM a total 'tard lol!
it works for me like this in the config:

PHP Code:

// ## Changes Directory so it can accesss vBulletin IF we are outside the forums folder, if not this is not nessary ##
chdir("/");

// ## Set's the base root directory back to the forums for all images ##
$img_forums "http://www.mysite.com/"

except! every other time literally that i hit refresh on /groups/index.php.. the group image doesn't load... and just like most others, my style images; (gradients, table, alt-table) don't load at all.

Thank You for Your Time and Effort!

edit: i take back the 'literally' it just loaded 2 in a row ^.~

in your GRPS options, change the random image count down to three and as for your images, please see my previous post directed at ericgtr

Azhrialilu 09-24-2006 08:44 PM

sweet goddess, Sabe have I told you I love you at all lately? :D

hippsta 09-24-2006 08:44 PM

Quote:

in your GRPS options, change the random image count down to three
Sweet! that worked for that thank you (b^.^)b

Quote:

as for your images, please see my previous post directed at ericgtr
no, no, my fori are in root.. plus my style images work on every or page but the groups set.. this will make no images work anywhere, won't it?

sabret00the 09-24-2006 08:51 PM

Quote:

Originally Posted by Azhrialilu
sweet goddess, Sabe have I told you I love you at all lately? :D

nope, but you know i'm always listening ;)

Azhrialilu 09-24-2006 08:52 PM

:D.. well consider yourself told! I've been waiting for this for a loooooong time! And where's those tattoo pics?

sabret00the 09-24-2006 08:53 PM

Quote:

Originally Posted by hippsta
Sweet! that worked for that thank you (b^.^)b



no, no, my fori are in root.. plus my style images work on every or page but the groups set.. this will make no images work anywhere, won't it?

if you change them to www.yoursite.com/images/buttons/ (that's an example) everything will work fine. i can give you the exact text if you run this file Attachment 53877

ericgtr 09-24-2006 08:55 PM

Okay, I put the full URL in the paths under the style options and the forum images are now working, thanks. I have a custom header and have to work out the paths to the images as they are not set in the style options. Also, my forum root is forum.php not index.php so my the link back to my forum says http://www.guitarblast.com/groups/forum.php, again we don't want groups in there.

Here is how my cofig is set:
PHP Code:

chdir("/home/guitar/public_html"); 


sabret00the 09-24-2006 08:58 PM

Quote:

Originally Posted by Azhrialilu
:D.. well consider yourself told! I've been waiting for this for a loooooong time! And where's those tattoo pics?

ooh i've been told ;) As for the tatt pics, they're are on the way, sadly i was too busy sorting all this out to get on the job earlier :(

sabret00the 09-24-2006 09:04 PM

Quote:

Originally Posted by ericgtr
Okay, I put the full URL in the paths under the style options and the forum images are now working, thanks. I have a custom header and have to work out the paths to the images as they are not set in the style options. Also, my forum root is forum.php not index.php so my the link back to my forum says http://www.guitarblast.com/groups/forum.php, again we don't want groups in there.

Here is how my cofig is set:
PHP Code:

chdir("/home/guitar/public_html"); 


sadly the forum thing in the navbar is not something i forsaw, in fact if it was upto me, the navbar would have the groups at the root and not the forums, however jelsoft :( :ermmm: ;) anyhoo to fix that you're gonna have to do a file edit.

in your ROOT/includes/functions_grps.php find
PHP Code:

        array(
            
// navbar replacements
            
'usercp.php'

and replace with
PHP Code:

        array(
            
// navbar replacements
            
'usercp.php',
            
'forum.php'

now find in the same file
PHP Code:

        array(
            
// navbar links
            
$vbulletin->options['bburl'] . '/usercp.php'

and replace that with
PHP Code:

        array(
            
// navbar links
            
$vbulletin->options['bburl'] . '/usercp.php',
            
$vbulletin->options['bburl'] . '/forum.php'

now save the file and upload it and you're sorted.

ronoxQ 09-24-2006 09:06 PM

Never mind! Fixed!

Heh, it was the specialized JavaScript navbar I was using. Not your problem at all. ^_^

hippsta 09-24-2006 09:13 PM

Quote:

if you change them to www.yoursite.com/images/buttons/ (that's an example) everything will work fine.
Thats what they are currently (can't have trailing slash) .. i tried /images/buttons which had the same effect..
http://www.mysite.com/images/xxxx returned even less images... like even the dropdown arrows and buttons were missing..
still no style or css on the pages tho..

Quote:

i can give you the exact text if you run this file Attachment 53877
=

PHP Code:

Array
(
    [
cellpadding] => 6
    
[cellspacing] => 1
    
[closedthreadimage] => images2/buttons/threadclosed.gif
    
[codeblockwidth] => 640px
    
[contenttype] => text/htmlcharset=ISO-8859-1
    
[formspacer] => 3
    
[formwidth] => 640px
    
[formwidth_usercp] => 480px
    
[htmldoctype] => 
    [
htmlextrasfolder] => htmlextras
    
[imagesfolder] => images
    
[messagewidth] => 540px
    
[messagewidth_usercp] => 380px
    
[newreplyimage] => images2/buttons/reply.gif
    
[newthreadimage] => images2/buttons/newthread.gif
    
[outerborderwidth] => 20
    
[outertablewidth] => 100%
    [
spacersize] => 25
    
[tablewidth] => 100%
    [
textareacols_ie4] => 70
    
[textareacols_ns4] => 50
    
[textareacols_ns6] => 65
    
[imgdir_attach] => /images/attach
    
[imgdir_button] => /images/buttons
    
[imgdir_editor] => /images/editor
    
[imgdir_misc] => /images/misc
    
[imgdir_poll] => /images/polls
    
[imgdir_rating] => /images/rating
    
[imgdir_reputation] => /images/reputation
    
[imgdir_statusicon] => /images/statusicon
    
[titleimage] => /images/Hiplogo3.jpg
    
[textdirection] => ltr
    
[left] => left
    
[right] => right
    
[languagecode] => en
    
[charset] => ISO-8859-1
    
[body_bgcolor] => #FFFFFF
    
[body_fgcolor] => #000066
    
[page_bgcolor] => #FFFFFF
    
[page_fgcolor] => #000022
    
[tborder_bgcolor] => #EFEFFF
    
[tborder_fgcolor] => #000022
    
[tcat_bgcolor] => #869BBF
    
[tcat_fgcolor] => #FFFFFF
    
[thead_bgcolor] => #5C7099
    
[thead_fgcolor] => #FFFFFF
    
[tfoot_bgcolor] => #E1E1FF
    
[tfoot_fgcolor] => #000022
    
[alt1_bgcolor] => #EFFFEF
    
[alt1_fgcolor] => #000022
    
[alt2_bgcolor] => #E1E1FF
    
[alt2_fgcolor] => #000022
    
[td.inlinemod_bgcolor] => #FFC8C8
    
[td.inlinemod_fgcolor] => #000000
    
[wysiwyg_bgcolor] => #F5F5FF
    
[wysiwyg_fgcolor] => #000000
    
[time_fgcolor] => #660099
    
[highlight_fgcolor] => #FF0000
    
[fjsel_bgcolor] => #FFFFFF
    
[fjsel_fgcolor] => #000022
    
[fjdpth0_bgcolor] => #F7F7F7
    
[fjdpth0_fgcolor] => #000000
    
[panel_bgcolor] => #E4E7F5
    
[panel_fgcolor] => #000000
    
[panelsurround_bgcolor] => #FFFFFF
    
[panelsurround_fgcolor] => #000022
    
[legend_fgcolor] => #000022
    
[vbmenu_control_bgcolor] => #E1E1FF
    
[vbmenu_control_fgcolor] => #000022
    
[vbmenu_popup_bgcolor] => #FFFFFF
    
[vbmenu_popup_fgcolor] => #000022
    
[vbmenu_option_bgcolor] => #EFFFEF
    
[vbmenu_option_fgcolor] => #000022
    
[vbmenu_hilite_bgcolor] => #E1E1FF
    
[vbmenu_hilite_fgcolor] => #000022
    
[outerdivwidth] => 100%
    [
divwidth] => auto
    
[imgdir_grps] => images/grps



sabret00the 09-24-2006 09:24 PM

Quote:

Originally Posted by hippsta
Thats what they are currently (can't have trailing slash) .. i tried /images/buttons which had the same effect..
http://www.mysite.com/images/xxxx returned even less images... like even the dropdown arrows and buttons were missing..
still no style or css on the pages tho..


=

PHP Code:

Array
(
    [
cellpadding] => 6
    
[cellspacing] => 1
    
[closedthreadimage] => images2/buttons/threadclosed.gif
    
[codeblockwidth] => 640px
    
[contenttype] => text/htmlcharset=ISO-8859-1
    
[formspacer] => 3
    
[formwidth] => 640px
    
[formwidth_usercp] => 480px
    
[htmldoctype] => 
    [
htmlextrasfolder] => htmlextras
    
[imagesfolder] => images
    
[messagewidth] => 540px
    
[messagewidth_usercp] => 380px
    
[newreplyimage] => images2/buttons/reply.gif
    
[newthreadimage] => images2/buttons/newthread.gif
    
[outerborderwidth] => 20
    
[outertablewidth] => 100%
    [
spacersize] => 25
    
[tablewidth] => 100%
    [
textareacols_ie4] => 70
    
[textareacols_ns4] => 50
    
[textareacols_ns6] => 65
    
[imgdir_attach] => /images/attach
    
[imgdir_button] => /images/buttons
    
[imgdir_editor] => /images/editor
    
[imgdir_misc] => /images/misc
    
[imgdir_poll] => /images/polls
    
[imgdir_rating] => /images/rating
    
[imgdir_reputation] => /images/reputation
    
[imgdir_statusicon] => /images/statusicon
    
[titleimage] => /images/Hiplogo3.jpg
    
[textdirection] => ltr
    
[left] => left
    
[right] => right
    
[languagecode] => en
    
[charset] => ISO-8859-1
    
[body_bgcolor] => #FFFFFF
    
[body_fgcolor] => #000066
    
[page_bgcolor] => #FFFFFF
    
[page_fgcolor] => #000022
    
[tborder_bgcolor] => #EFEFFF
    
[tborder_fgcolor] => #000022
    
[tcat_bgcolor] => #869BBF
    
[tcat_fgcolor] => #FFFFFF
    
[thead_bgcolor] => #5C7099
    
[thead_fgcolor] => #FFFFFF
    
[tfoot_bgcolor] => #E1E1FF
    
[tfoot_fgcolor] => #000022
    
[alt1_bgcolor] => #EFFFEF
    
[alt1_fgcolor] => #000022
    
[alt2_bgcolor] => #E1E1FF
    
[alt2_fgcolor] => #000022
    
[td.inlinemod_bgcolor] => #FFC8C8
    
[td.inlinemod_fgcolor] => #000000
    
[wysiwyg_bgcolor] => #F5F5FF
    
[wysiwyg_fgcolor] => #000000
    
[time_fgcolor] => #660099
    
[highlight_fgcolor] => #FF0000
    
[fjsel_bgcolor] => #FFFFFF
    
[fjsel_fgcolor] => #000022
    
[fjdpth0_bgcolor] => #F7F7F7
    
[fjdpth0_fgcolor] => #000000
    
[panel_bgcolor] => #E4E7F5
    
[panel_fgcolor] => #000000
    
[panelsurround_bgcolor] => #FFFFFF
    
[panelsurround_fgcolor] => #000022
    
[legend_fgcolor] => #000022
    
[vbmenu_control_bgcolor] => #E1E1FF
    
[vbmenu_control_fgcolor] => #000022
    
[vbmenu_popup_bgcolor] => #FFFFFF
    
[vbmenu_popup_fgcolor] => #000022
    
[vbmenu_option_bgcolor] => #EFFFEF
    
[vbmenu_option_fgcolor] => #000022
    
[vbmenu_hilite_bgcolor] => #E1E1FF
    
[vbmenu_hilite_fgcolor] => #000022
    
[outerdivwidth] => 100%
    [
divwidth] => auto
    
[imgdir_grps] => images/grps



Click this link here

now starting from Buttom Images Folder, going right down to Reputation Images Folder

click input box, click home and then paste this 'http://www.hippsta.com'

i.e. when you're done, the file should show these
PHP Code:

    [closedthreadimage] => http://www.hippsta.com/images2/buttons/threadclosed.gif 
    
[newreplyimage] => http://www.hippsta.com/images2/buttons/reply.gif
    
[newthreadimage] => http://www.hippsta.com/images2/buttons/newthread.gif 
    
[imgdir_attach] => http://www.hippsta.com/images/attach
    
[imgdir_button] => http://www.hippsta.com/images/buttons
    
[imgdir_editor] => http://www.hippsta.com/images/editor
    
[imgdir_misc] => http://www.hippsta.com/images/misc
    
[imgdir_poll] => http://www.hippsta.com/images/polls
    
[imgdir_rating] => http://www.hippsta.com/images/rating
    
[imgdir_reputation] => http://www.hippsta.com/images/reputation
    
[imgdir_statusicon] => http://www.hippsta.com/images/statusicon 

that will fix your image issue.

Benj 09-24-2006 09:37 PM

here you go the contents of my groups/browse.php

PHP Code:

<?php

//XXXXXXXXXXXXXXXXXX;,XMMMMMS i7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXSXXXXXXSSXXXSXXXXXXSXXXSXSXXSXXSXXSXXXX
//XXXXXXXXXXXXXXXX7:XMM0aaZWMMX.rXXXXXXX77;iiiii;7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
//XXXXXXXXXXXXXXXXiXMZXXS22XX8M0 rXXXXX7r20@MMMW8;;7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
//XXXXXXXXXXXXXXX7.M8XXXr :0MMMMZ:XXXX72W8S7rrXS8MB;;7XXXXXXXXXXSXXXSXXXXXXSXXXXXXXXXXXSXXXXXXXSXXXXXX
//77777X7777X77XXiSMSXrWMMMBi ,@M XX7rZ8;,,,,i;;;7aMSi777XX77XXX7XX77XXXXX77X7XXX7XX77XX7XXX7XX7XXXXXX
//XXX7777XX777777:BMMMZr     i;ZM 777SZi,:::ii;r;r7S@a:777777777777777X7XX777X7X7XXXXXXX7777XX7XX77X77
//XXXXXXXXXXXXXXX:ZM.     .,:;rZM 77:8,,::..     .:iXMr;XXXXXXXXXXXXX7X7XXXX7X7X77X7XX77XXXXXXXXXXXXXX
//777777777777777iiMX:,,,,::irXMa.7riM,     .;0MMMM8iXM.r777777777777777777777777777777777r777777777r7
//777777777777777r.@MX.,:iiiir2@  ;;7MMMMMMMM@ar:.iX8SMi;777777777777777777777777777777777777777777777
//7777777777777777i MM@r::iir8MMWX   Mi        .ii;;rS@Xi777777777777777777777777777777777777777777777
//rrrrrrrrrrrrrrrrri  iMMMMMMM070MM7 ;Z.,.....,:i;rraZ8X:rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//r77777777rrrrrrrrr rMaW77i :::i;ZMM a;,,,,::i;r77rZ@0:irrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//rr;rr;r;i.      ,. MX:7    BSX7r7aMM.2;iii;;;rX772MMM ;rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//rrrrr;,   ;B@@8:  28;72@   MSXXrrXWMMaMXii;;r7X7SM,  ,rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//;rr;i  XMMMMMMMMMMM:iXX@   M2X2X;SB@M .M0X;;;7a@MM7. ,;rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr;r;rrrrr;
//;;ii  MMM@WWWWWWMMM8.XXZM  MS::arX@Mr 2ZMMMMMMMM7iSMM  :;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
//;;;  MM@WWWWWWWWWBM0 7XSM  MSa Z00B; MMBr2SZ8r :rSSSZM2 .i;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;r;;;;;;;;
//ii. MM@WWWWMMMM@WMM22XS2BW M0MBa0.     7MM@8SrS2aZ8Z22MM  :iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
//;; ,MMMM@W@@.  MMM, Za2aZ0.Si;:           MMaWMMMMMMMMMMMZ i;;;;iiiii;;;;;;;iiiiiiiii;;;iiiiiiiiiiii
//i: MM8 8@WWWaMMMX  .rZ    ,r7   ;MMMMMMMW  MMX          .MMS27;;rrr;iiiiiiiiir777r;iiiiiiiiiiiiiiiii
//ii MM  WMWMMMM    ,:iM .i;S,  :MMMMMMMMMMM     :MMMMMZ        ZX;;rSaS7;ii;X2r.  ;SX;iiiiiiiiiiiiiii
//i: MMaZM@MM0    ,,::iM; ;X   MMMMMM    MMM  rMMMMMMMMMMMMMMM           XSXS         X;iiiiiiiiiiiiii
//:: MMM@@MMi  .:,::i;;M; 7   MMMM;       MM MMMMMMMMMMMMMMMMMMM.MMMMMS        MMMMM   7i:::i:::::::::
//::  MM@WMM  :i;ii;;rrM  .  MMMM   XMMM  MM MMMM  MMM      WMMMMMMMMMMMMW   MMMMMMMM  i;iiiiiiiiiiiii
//::  MM@MM  i;77rrrrr2MX8  MMMM              WM2  MMM      MMMMMBMMM:MMMMMMMMMM0  MMM  r,,,,,:,,,,,,:
//:::  MMMM ir;rXrrr78MMMM :MMM        ,7ZMM@a::S 8MM.   MMMMMMM  MM    :MMMMMM    MMM  7:::::::::::::
//,,,   MMM2rX77X7X0MMZ7M  MMM0MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM   MMM  7   MMMM  :, MMM  r,,,,,,,,,,,,,
//,,,,   MMMMMMMMMMMW  aM  MMM2MMMMMMMMMMMMMMMMMMMMMMMMMMMMB     MMM .r  MMMMM  ;  MMM  Xrr;i:,,,,,,,,
//,,,,,.   SX.;aM7      M  MMM :88i      MMMr   MMMMMMMMM    :i  MMX    7MMMM                :i,,,,,.,
//,..,.,.  B7i:..2M   , ;i @MMM        @MMMM    MMMMM  MMMM      MMX @MMMMMMMMMMMMMMMMMMMMB   .:......
//..,...  MWSX7772WM2    M  MMMMMMMMMMMMMMMa  ,   MMM   MMMM  MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM  :,,,,,,
//......  M2 S7XSr ,BM    M  MMMMMMMMMMMMZ   ::i. 8MMM   MMMMMMMMMMMMMM2       ;20MMMMMMMMMMMZ .......
//...... MMZ7Z22aBS82@M,  @M   MMMMMMMM     :,.,.  MMM    .MMMMMWMMM         .            MMMB  ,.....
//.,,,,. MMMMMMMMMMMMMMMM: MMM           ::,,,,,,  MMM  ,   0MMMMMMM   :::. MMM  .::::   MMMM  ,,,,,,.
//                                                 :MM@       ;MMMMMMM      MMM         MMMMZ         
//                                                               MMMMM      0MMM      SMMMMM          
//       GRPS: Commune For Groups                                 ,MMMa      MMMMX  MMMMMM            
//             vBulletin Add-On Software                           MMMM       MMMMMMMMMMM             
//                             by sabret00the                       MMM         MMMMMMa               
//                                    Copyright 2005                 M                                

// ################ SET SCRIPT LOCATION ENVIRONMENT ######################
require_once('./includes/config_grps.php');

// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS'1);
define('THIS_SCRIPT''browse');

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();

// get special data templates from the datastore
$specialtemplates = array();

// pre-cache templates used by all actions
$globaltemplates = array(
'GROUPS',
'groups_browse',
'groups_browse_cathead',
'groups_browse_catbit',
'groups_browse_catfoot',
'groups_groupshome_popularbits',
'groups_groupshome_largestbits',
'groups_groupshome_mygroups',
'groups_groupshome_mygroupsbits',
'groups_navbar',
);

// ######################### REQUIRE BACK-END ############################
require_once("./global.php");
require_once(
"./includes/functions_grps.php");



// pre-cache templates used by all actions
$globaltemplates = array();

// globalize variables
$vbulletin->input->clean_array_gpc('r', array(
    
'page' => TYPE_INT,
    
'perpage' => TYPE_INT,
    
'pagenumber' => TYPE_INT,
    
'do' => TYPE_STR,
    
'view' => TYPE_STR,
    
'c' => TYPE_INT,
));

// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################

// temp admin options
// url of the grps
 
$groupurl "$vbulletin->options[homeurl]/groups/?groupid=$groupid";

if (
$vbulletin->options['grps_status']=="0") {
    eval(
print_standard_error('grps_statusoff'));
}

// this switch handles the right column
$grps_pagetitle "Browse Groups"

        
// ###################### pagenav
$pagenavcount $db->query_first("
    SELECT COUNT(*) AS totalgroups
    FROM grps
    LEFT JOIN grps_categories ON (grps_categories.catid = grps.catid)
    WHERE grps.approved = '1'
    ORDER BY grps.title
"
);

switch (
$vbulletin->GPC['view']) 

    case 
"alphabetical"
        
// creates the pagenav
        
$page = ($vbulletin->GPC['page'] < 1) ? "1" intval($vbulletin->GPC['page']);
        
$totalgroups $db->query_first("SELECT COUNT(groupid) AS total FROM grps WHERE approved = '1' ");
        
$totalgroups $totalgroups['total'];
        
$currentlocation "browse.php?" $vbulletin->session->vars['sessionurl'] ."view=alphabetical";
        
$perpage "25";
        
$pagenumber $page;
        
$lowerlimit = ($page $perpage);
        
$query_lowerlimit = ($lowerlimit $perpage);
    
        
// add's page title
         
$grps_pagetitle .= " Alphabetically"

        
$grps_alphabetical $db->query_read("
            SELECT grps.groupid, grps.title, grps.description, grps.catid, grps_categories.title AS catname, grps.approved, grps.leaderid, grps_setting.hidden_group
            FROM grps
            LEFT JOIN grps_categories ON (grps_categories.catid = grps.catid)
            LEFT JOIN grps_setting ON (grps_setting.groupid = grps.groupid)
            WHERE grps.approved = '1' AND grps_setting.hidden_group != '1'
            ORDER BY grps.title
            LIMIT 
$query_lowerlimit$perpage
        "
);

        
$grps_categoryinfo['catname'] = "All " $vbulletin->options[hometitle] . " Groups In Alphabetical Order";
        
$hideviewall 1;

        eval(
"\$grps_catbits = \"" fetch_template("groups_browse_cathead") . "\";");
        if (!
$db->num_rows($grps_alphabetical))
        { 
// no groups, this becomes obselete after the first group gets created
            
$grps_catbits .= "<tr><td class=\"alt1\" align=\"center\">no groups currently found in the database</td></tr>";
        }
        else
        { 
// display the information
            
while ($grps_categoryinfo $db->fetch_array($grps_alphabetical))
            {
                
$grps_categoryinfo['title'] = stripslashes($grps_categoryinfo['title']);
                
$grps_categoryinfo['description'] = nl2br(stripslashes($grps_categoryinfo['description']));
                   eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catbit") . "\";");
            } 
//now echo the date into the template
        
}
        eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catfoot") . "\";");
    break; 
    case 
"bymembers"
        
// creates the pagenav
        
$page = ($vbulletin->GPC['page'] < 1) ? "1" intval($vbulletin->GPC['page']);
        
$totalgroups $db->query_first("SELECT COUNT(groupid) AS total FROM grps WHERE approved = '1'");
        
$totalgroups $totalgroups['total'];
        
$currentlocation "browse.php?" $vbulletin->session->vars['sessionurl'] ."view=bymembers";
        
$perpage "25";
        
$pagenumber $page;
        
$lowerlimit = ($page $perpage);
        
$query_lowerlimit = ($lowerlimit $perpage);

        
// add's page title
         
$grps_pagetitle .= " By Number Of Members"

        
$grps_members $db->query_read("
            SELECT COUNT(*) AS totalmembers, grps.groupid, grps.title, grps.description, grps.catid, grps_categories.title AS catname, grps.approved, grps.leaderid, grps_setting.hidden_group
            FROM grps_user
            LEFT JOIN grps ON (grps.groupid = grps_user.groupid)
            LEFT JOIN grps_categories ON (grps_categories.catid = grps.catid)
            LEFT JOIN grps_setting ON (grps_setting.groupid = grps.groupid)
            WHERE grps.approved = '1' AND grps_setting.hidden_group != '1'
            GROUP BY grps.groupid
            ORDER BY totalmembers DESC, grps.title
            LIMIT 
$query_lowerlimit$perpage
        "
);

        
$grps_categoryinfo['catname'] = $vbulletin->options[hometitle] . " Groups Ordered By Size";
        
$hideviewall 1;

        eval(
"\$grps_catbits = \"" fetch_template("groups_browse_cathead") . "\";");
        if (!
$db->num_rows($grps_members))
        { 
// no groups, this becomes obselete after the first group gets created
            
$grps_catbits .= "<tr><td class=\"alt1\" align=\"center\">no groups currently found in the database</td></tr>";
        }
        else
        { 
// display the information
            
while ($grps_categoryinfo $db->fetch_array($grps_members))
            {
                
$grps_categoryinfo['title'] = stripslashes($grps_categoryinfo['title']);
                
$grps_categoryinfo['description'] = nl2br(stripslashes($grps_categoryinfo['description']));
                   eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catbit") . "\";");
            } 
//now echo the date into the template
        
}
        eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catfoot") . "\";");
    break; 
    default:
         
// creates the pagenav
        
$page = ($vbulletin->GPC['page'] < 1) ? "1" intval($vbulletin->GPC['page']);
        
$totalgroups $db->query_first("SELECT COUNT(groupid) AS total FROM grps WHERE approved = '1'");
        
$totalgroups $totalgroups['total'];
        
$currentlocation "browse.php?" $vbulletin->session->vars['sessionurl'];
        
$perpage "25";
        
$pagenumber $page;
        
$lowerlimit = ($page $perpage);
        
$query_lowerlimit = ($lowerlimit $perpage);

        
// page title for grouphome.
         
$grps_pagetitle .= " By Categories"

        
// selects the number of validated groups for group home
        
$total $db->query_read("
            SELECT groupid 
            FROM grps
            WHERE approved = 1
        "
);

          
$num number_format($db->num_rows($total));

        
$grps_limit=10;

        if (
$vbulletin->options[grps_moderation]=="1")
        {
            
$grps_moderation="WHERE grps.visible=1";
        }
    
            
$grps_categories $db->query_read("
                SELECT grps.groupid, grps.title, grps.description, grps.catid, grps_categories.title AS catname, grps.approved, grps.leaderid, grps_setting.hidden_group
                FROM grps_categories
                INNER JOIN grps ON grps_categories.catid = grps.catid AND grps.approved = '1' 
                INNER JOIN grps AS G2 ON grps_categories.catid = G2.catid AND G2.approved = '1' AND grps.title >= G2.title
                LEFT JOIN grps_setting ON (grps_setting.groupid = grps.groupid)
                WHERE grps_setting.hidden_group != '1'
                GROUP BY grps_categories.title, grps.title, grps.description, grps.leaderid 
                HAVING COUNT(*) <= 10
                ORDER BY grps.catid, grps.title
                LIMIT 
$query_lowerlimit$perpage
            "
);

            if (!
$db->num_rows($grps_categories))
            { 
// no groups, this becomes obselete after the first group gets created
                        
eval("\$grps_catbits = \"" fetch_template("groups_browse_cathead") . "\";");
                        
$grps_catbits .= "<tr><td class=\"alt1\" align=\"center\">no groups found in this catergory at this time</td></tr>";
                        eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catfoot") . "\";");
            }
            else
            { 
// display the information
                
$row "0";
                while (
$grps_categoryinfo $db->fetch_array($grps_categories))
                {
                    if (
$row == 0)
                    {

                        eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_cathead") . "\";");

                        
// reset catname store
                        
$grps_catidstore $grps_categoryinfo['catid'];
                        
$seperator TRUE;
                    }

                    if (
$grps_catidstore != $grps_categoryinfo[catid] AND $row != 0)
                    {
                        eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catfoot") . "\";");
                        eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_cathead") . "\";");
                    }

                    
$grps_categoryinfo['catid'] = intval($grps_categoryinfo['catid']);
                    
$grps_categoryinfo['title'] = stripslashes($grps_categoryinfo['title']);
                    
$grps_categoryinfo['description'] = nl2br(stripslashes($grps_categoryinfo['description']));
                    
$grps_categoryinfo['catname'] = stripslashes($grps_categoryinfo['catname']);

                     eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catbit") . "\";");

                    if (
$grps_categoryinfo[catid] != $grps_catidstore)
                    {
                        
// reset catname store
                        
$grps_catidstore $grps_categoryinfo['catid'];
                    }
                    
$row++;
                } 
//now echo the date into the template
                
eval("\$grps_catbits .= \"" fetch_template("groups_browse_catfoot") . "\";");
            }

            if (
$vbulletin->GPC['c'] != "")
            {
                
$c intval($vbulletin->GPC['c']);

                
// creates the pagenav
                
$page = ($vbulletin->GPC['page'] < 1) ? "1" intval($vbulletin->GPC['page']);
                
$totalgroups $db->query_first("SELECT COUNT(groupid) AS total FROM grps WHERE approved = '1'");
                
$totalgroups $totalgroups['total'];
                
$currentlocation "browse.php?" $vbulletin->session->vars['sessionurl'] . "c=$c";
                
$perpage "25";
                
$pagenumber $page;
                
$lowerlimit = ($page $perpage);
                
$query_lowerlimit = ($lowerlimit $perpage);

                
$groupsforcat $db->query_read("
                    SELECT grps.groupid, grps.title, grps.description, grps.catid, grps_categories.title AS catname, grps.approved, grps.leaderid, grps_setting.hidden_group
                    FROM grps
                    LEFT JOIN grps_categories ON (grps_categories.catid = grps.catid)
                    LEFT JOIN grps_setting ON (grps_setting.groupid = grps.groupid)
                    WHERE grps.approved = '1' AND grps.catid = 
$c AND grps_setting.hidden_group != '1'
                    ORDER BY grps.title
                    LIMIT 
$query_lowerlimit$perpage
                "
);

                
$catname $db->query_first("
                    SELECT title AS catname, catid
                    FROM grps_categories
                    WHERE catid = 
$c
                "
);

                
$grps_categoryinfo2['catid'] = stripslashes($catname['catid']);
                
$grps_categoryinfo2['catname'] = stripslashes($catname['catname']);
                
$grps_categoryinfo['catid'] = stripslashes($catname['catid']);
                
$grps_categoryinfo['catname'] = stripslashes($catname['catname']);

                eval(
"\$grps_catbits = \"" fetch_template("groups_browse_cathead") . "\";");
                if (!
$db->num_rows($groupsforcat))
                { 
// no groups, this becomes obselete after the first group gets created
                       
$grps_catbits .= "<tr><td class=\"alt1\" align=\"center\">no groups found in this catergory at this time</td></tr>";
                }
                else
                { 
// display the information
                    
while ($grps_categoryinfo $db->fetch_array($groupsforcat))
                    {
                        
$grps_categoryinfo['title'] = stripslashes($grps_categoryinfo['title']);
                        
$grps_categoryinfo['description'] = nl2br(stripslashes($grps_categoryinfo['description']));

                         eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catbit") . "\";");
                    } 
//now echo the date into the template
                
}
                eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catfoot") . "\";");
            }
}


    
$pagenav construct_page_nav($pagenumber$perpage$totalgroups"browse.php?" $vbulletin->session->vars['sessionurl'], "" . (!empty($vbulletin->GPC['perpage']) ? "&amp;pp=$perpage"") . "");

    
$navbits = array();
    
$navbits["browse.php?" $vbulletin->session->vars['sessionurl'] . "c=" $grps_categoryinfo2['catid']] = $grps_categoryinfo2['catname'];
    
$navbits[''] = 'Browse Groups';

    
$navbits construct_navbits($navbits);

    
//handles the rest of the page and layout.
    
eval("\$grps_main .= \"".fetch_template("groups_browse")."\";");
    eval(
'$grps_navbar = "' fetch_template('groups_navbar') . '";');
    eval(
'$headinclude = "' fetch_template('headinclude') . '";');
    
$headinclude grps_rewrite_links($headinclude);
    eval(
'$navbar = "' fetch_template('navbar') . '";');
    
$navbar grps_rewrite_links($navbar);
    eval(
'$footer = "' fetch_template('footer') . '";');
    
$footer grps_rewrite_links($footer);
    eval(
"print_output(\"".fetch_template("GROUPS")."\");");

?>


hippsta 09-24-2006 09:44 PM

Sorry lol i meesed up and didn't refresh the test_stylevar.php after changing it around..

that was how it was...

it does put in some style.. check here, on the right where it says "Unity," and it puts in the dropdown menu arrows, and folder images...

but, the dropdowns have transparent backgrounds, and other obvious style strangeities are present..

sabret00the 09-24-2006 09:45 PM

Quote:

Originally Posted by Benj
here you go the contents of my groups/browse.php

PHP Code:

<?php

//XXXXXXXXXXXXXXXXXX;,XMMMMMS i7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXSXXXXXXSSXXXSXXXXXXSXXXSXSXXSXXSXXSXXXX
//XXXXXXXXXXXXXXXX7:XMM0aaZWMMX.rXXXXXXX77;iiiii;7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
//XXXXXXXXXXXXXXXXiXMZXXS22XX8M0 rXXXXX7r20@MMMW8;;7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
//XXXXXXXXXXXXXXX7.M8XXXr :0MMMMZ:XXXX72W8S7rrXS8MB;;7XXXXXXXXXXSXXXSXXXXXXSXXXXXXXXXXXSXXXXXXXSXXXXXX
//77777X7777X77XXiSMSXrWMMMBi ,@M XX7rZ8;,,,,i;;;7aMSi777XX77XXX7XX77XXXXX77X7XXX7XX77XX7XXX7XX7XXXXXX
//XXX7777XX777777:BMMMZr     i;ZM 777SZi,:::ii;r;r7S@a:777777777777777X7XX777X7X7XXXXXXX7777XX7XX77X77
//XXXXXXXXXXXXXXX:ZM.     .,:;rZM 77:8,,::..     .:iXMr;XXXXXXXXXXXXX7X7XXXX7X7X77X7XX77XXXXXXXXXXXXXX
//777777777777777iiMX:,,,,::irXMa.7riM,     .;0MMMM8iXM.r777777777777777777777777777777777r777777777r7
//777777777777777r.@MX.,:iiiir2@  ;;7MMMMMMMM@ar:.iX8SMi;777777777777777777777777777777777777777777777
//7777777777777777i MM@r::iir8MMWX   Mi        .ii;;rS@Xi777777777777777777777777777777777777777777777
//rrrrrrrrrrrrrrrrri  iMMMMMMM070MM7 ;Z.,.....,:i;rraZ8X:rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//r77777777rrrrrrrrr rMaW77i :::i;ZMM a;,,,,::i;r77rZ@0:irrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//rr;rr;r;i.      ,. MX:7    BSX7r7aMM.2;iii;;;rX772MMM ;rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//rrrrr;,   ;B@@8:  28;72@   MSXXrrXWMMaMXii;;r7X7SM,  ,rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
//;rr;i  XMMMMMMMMMMM:iXX@   M2X2X;SB@M .M0X;;;7a@MM7. ,;rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr;r;rrrrr;
//;;ii  MMM@WWWWWWMMM8.XXZM  MS::arX@Mr 2ZMMMMMMMM7iSMM  :;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
//;;;  MM@WWWWWWWWWBM0 7XSM  MSa Z00B; MMBr2SZ8r :rSSSZM2 .i;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;r;;;;;;;;
//ii. MM@WWWWMMMM@WMM22XS2BW M0MBa0.     7MM@8SrS2aZ8Z22MM  :iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
//;; ,MMMM@W@@.  MMM, Za2aZ0.Si;:           MMaWMMMMMMMMMMMZ i;;;;iiiii;;;;;;;iiiiiiiii;;;iiiiiiiiiiii
//i: MM8 8@WWWaMMMX  .rZ    ,r7   ;MMMMMMMW  MMX          .MMS27;;rrr;iiiiiiiiir777r;iiiiiiiiiiiiiiiii
//ii MM  WMWMMMM    ,:iM .i;S,  :MMMMMMMMMMM     :MMMMMZ        ZX;;rSaS7;ii;X2r.  ;SX;iiiiiiiiiiiiiii
//i: MMaZM@MM0    ,,::iM; ;X   MMMMMM    MMM  rMMMMMMMMMMMMMMM           XSXS         X;iiiiiiiiiiiiii
//:: MMM@@MMi  .:,::i;;M; 7   MMMM;       MM MMMMMMMMMMMMMMMMMMM.MMMMMS        MMMMM   7i:::i:::::::::
//::  MM@WMM  :i;ii;;rrM  .  MMMM   XMMM  MM MMMM  MMM      WMMMMMMMMMMMMW   MMMMMMMM  i;iiiiiiiiiiiii
//::  MM@MM  i;77rrrrr2MX8  MMMM              WM2  MMM      MMMMMBMMM:MMMMMMMMMM0  MMM  r,,,,,:,,,,,,:
//:::  MMMM ir;rXrrr78MMMM :MMM        ,7ZMM@a::S 8MM.   MMMMMMM  MM    :MMMMMM    MMM  7:::::::::::::
//,,,   MMM2rX77X7X0MMZ7M  MMM0MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM   MMM  7   MMMM  :, MMM  r,,,,,,,,,,,,,
//,,,,   MMMMMMMMMMMW  aM  MMM2MMMMMMMMMMMMMMMMMMMMMMMMMMMMB     MMM .r  MMMMM  ;  MMM  Xrr;i:,,,,,,,,
//,,,,,.   SX.;aM7      M  MMM :88i      MMMr   MMMMMMMMM    :i  MMX    7MMMM                :i,,,,,.,
//,..,.,.  B7i:..2M   , ;i @MMM        @MMMM    MMMMM  MMMM      MMX @MMMMMMMMMMMMMMMMMMMMB   .:......
//..,...  MWSX7772WM2    M  MMMMMMMMMMMMMMMa  ,   MMM   MMMM  MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM  :,,,,,,
//......  M2 S7XSr ,BM    M  MMMMMMMMMMMMZ   ::i. 8MMM   MMMMMMMMMMMMMM2       ;20MMMMMMMMMMMZ .......
//...... MMZ7Z22aBS82@M,  @M   MMMMMMMM     :,.,.  MMM    .MMMMMWMMM         .            MMMB  ,.....
//.,,,,. MMMMMMMMMMMMMMMM: MMM           ::,,,,,,  MMM  ,   0MMMMMMM   :::. MMM  .::::   MMMM  ,,,,,,.
//                                                 :MM@       ;MMMMMMM      MMM         MMMMZ         
//                                                               MMMMM      0MMM      SMMMMM          
//       GRPS: Commune For Groups                                 ,MMMa      MMMMX  MMMMMM            
//             vBulletin Add-On Software                           MMMM       MMMMMMMMMMM             
//                             by sabret00the                       MMM         MMMMMMa               
//                                    Copyright 2005                 M                                

// ################ SET SCRIPT LOCATION ENVIRONMENT ######################
require_once('./includes/config_grps.php');

// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS'1);
define('THIS_SCRIPT''browse');

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();

// get special data templates from the datastore
$specialtemplates = array();

// pre-cache templates used by all actions
$globaltemplates = array(
'GROUPS',
'groups_browse',
'groups_browse_cathead',
'groups_browse_catbit',
'groups_browse_catfoot',
'groups_groupshome_popularbits',
'groups_groupshome_largestbits',
'groups_groupshome_mygroups',
'groups_groupshome_mygroupsbits',
'groups_navbar',
);

// ######################### REQUIRE BACK-END ############################
require_once("./global.php");
require_once(
"./includes/functions_grps.php");



// pre-cache templates used by all actions
$globaltemplates = array();

// globalize variables
$vbulletin->input->clean_array_gpc('r', array(
    
'page' => TYPE_INT,
    
'perpage' => TYPE_INT,
    
'pagenumber' => TYPE_INT,
    
'do' => TYPE_STR,
    
'view' => TYPE_STR,
    
'c' => TYPE_INT,
));

// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################

// temp admin options
// url of the grps
 
$groupurl "$vbulletin->options[homeurl]/groups/?groupid=$groupid";

if (
$vbulletin->options['grps_status']=="0") {
    eval(
print_standard_error('grps_statusoff'));
}

// this switch handles the right column
$grps_pagetitle "Browse Groups"

        
// ###################### pagenav
$pagenavcount $db->query_first("
    SELECT COUNT(*) AS totalgroups
    FROM grps
    LEFT JOIN grps_categories ON (grps_categories.catid = grps.catid)
    WHERE grps.approved = '1'
    ORDER BY grps.title
"
);

switch (
$vbulletin->GPC['view']) 

    case 
"alphabetical"
        
// creates the pagenav
        
$page = ($vbulletin->GPC['page'] < 1) ? "1" intval($vbulletin->GPC['page']);
        
$totalgroups $db->query_first("SELECT COUNT(groupid) AS total FROM grps WHERE approved = '1' ");
        
$totalgroups $totalgroups['total'];
        
$currentlocation "browse.php?" $vbulletin->session->vars['sessionurl'] ."view=alphabetical";
        
$perpage "25";
        
$pagenumber $page;
        
$lowerlimit = ($page $perpage);
        
$query_lowerlimit = ($lowerlimit $perpage);
    
        
// add's page title
         
$grps_pagetitle .= " Alphabetically"

        
$grps_alphabetical $db->query_read("
            SELECT grps.groupid, grps.title, grps.description, grps.catid, grps_categories.title AS catname, grps.approved, grps.leaderid, grps_setting.hidden_group
            FROM grps
            LEFT JOIN grps_categories ON (grps_categories.catid = grps.catid)
            LEFT JOIN grps_setting ON (grps_setting.groupid = grps.groupid)
            WHERE grps.approved = '1' AND grps_setting.hidden_group != '1'
            ORDER BY grps.title
            LIMIT 
$query_lowerlimit$perpage
        "
);

        
$grps_categoryinfo['catname'] = "All " $vbulletin->options[hometitle] . " Groups In Alphabetical Order";
        
$hideviewall 1;

        eval(
"\$grps_catbits = \"" fetch_template("groups_browse_cathead") . "\";");
        if (!
$db->num_rows($grps_alphabetical))
        { 
// no groups, this becomes obselete after the first group gets created
            
$grps_catbits .= "<tr><td class=\"alt1\" align=\"center\">no groups currently found in the database</td></tr>";
        }
        else
        { 
// display the information
            
while ($grps_categoryinfo $db->fetch_array($grps_alphabetical))
            {
                
$grps_categoryinfo['title'] = stripslashes($grps_categoryinfo['title']);
                
$grps_categoryinfo['description'] = nl2br(stripslashes($grps_categoryinfo['description']));
                   eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catbit") . "\";");
            } 
//now echo the date into the template
        
}
        eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catfoot") . "\";");
    break; 
    case 
"bymembers"
        
// creates the pagenav
        
$page = ($vbulletin->GPC['page'] < 1) ? "1" intval($vbulletin->GPC['page']);
        
$totalgroups $db->query_first("SELECT COUNT(groupid) AS total FROM grps WHERE approved = '1'");
        
$totalgroups $totalgroups['total'];
        
$currentlocation "browse.php?" $vbulletin->session->vars['sessionurl'] ."view=bymembers";
        
$perpage "25";
        
$pagenumber $page;
        
$lowerlimit = ($page $perpage);
        
$query_lowerlimit = ($lowerlimit $perpage);

        
// add's page title
         
$grps_pagetitle .= " By Number Of Members"

        
$grps_members $db->query_read("
            SELECT COUNT(*) AS totalmembers, grps.groupid, grps.title, grps.description, grps.catid, grps_categories.title AS catname, grps.approved, grps.leaderid, grps_setting.hidden_group
            FROM grps_user
            LEFT JOIN grps ON (grps.groupid = grps_user.groupid)
            LEFT JOIN grps_categories ON (grps_categories.catid = grps.catid)
            LEFT JOIN grps_setting ON (grps_setting.groupid = grps.groupid)
            WHERE grps.approved = '1' AND grps_setting.hidden_group != '1'
            GROUP BY grps.groupid
            ORDER BY totalmembers DESC, grps.title
            LIMIT 
$query_lowerlimit$perpage
        "
);

        
$grps_categoryinfo['catname'] = $vbulletin->options[hometitle] . " Groups Ordered By Size";
        
$hideviewall 1;

        eval(
"\$grps_catbits = \"" fetch_template("groups_browse_cathead") . "\";");
        if (!
$db->num_rows($grps_members))
        { 
// no groups, this becomes obselete after the first group gets created
            
$grps_catbits .= "<tr><td class=\"alt1\" align=\"center\">no groups currently found in the database</td></tr>";
        }
        else
        { 
// display the information
            
while ($grps_categoryinfo $db->fetch_array($grps_members))
            {
                
$grps_categoryinfo['title'] = stripslashes($grps_categoryinfo['title']);
                
$grps_categoryinfo['description'] = nl2br(stripslashes($grps_categoryinfo['description']));
                   eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catbit") . "\";");
            } 
//now echo the date into the template
        
}
        eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catfoot") . "\";");
    break; 
    default:
         
// creates the pagenav
        
$page = ($vbulletin->GPC['page'] < 1) ? "1" intval($vbulletin->GPC['page']);
        
$totalgroups $db->query_first("SELECT COUNT(groupid) AS total FROM grps WHERE approved = '1'");
        
$totalgroups $totalgroups['total'];
        
$currentlocation "browse.php?" $vbulletin->session->vars['sessionurl'];
        
$perpage "25";
        
$pagenumber $page;
        
$lowerlimit = ($page $perpage);
        
$query_lowerlimit = ($lowerlimit $perpage);

        
// page title for grouphome.
         
$grps_pagetitle .= " By Categories"

        
// selects the number of validated groups for group home
        
$total $db->query_read("
            SELECT groupid 
            FROM grps
            WHERE approved = 1
        "
);

          
$num number_format($db->num_rows($total));

        
$grps_limit=10;

        if (
$vbulletin->options[grps_moderation]=="1")
        {
            
$grps_moderation="WHERE grps.visible=1";
        }
    
            
$grps_categories $db->query_read("
                SELECT grps.groupid, grps.title, grps.description, grps.catid, grps_categories.title AS catname, grps.approved, grps.leaderid, grps_setting.hidden_group
                FROM grps_categories
                INNER JOIN grps ON grps_categories.catid = grps.catid AND grps.approved = '1' 
                INNER JOIN grps AS G2 ON grps_categories.catid = G2.catid AND G2.approved = '1' AND grps.title >= G2.title
                LEFT JOIN grps_setting ON (grps_setting.groupid = grps.groupid)
                WHERE grps_setting.hidden_group != '1'
                GROUP BY grps_categories.title, grps.title, grps.description, grps.leaderid 
                HAVING COUNT(*) <= 10
                ORDER BY grps.catid, grps.title
                LIMIT 
$query_lowerlimit$perpage
            "
);

            if (!
$db->num_rows($grps_categories))
            { 
// no groups, this becomes obselete after the first group gets created
                        
eval("\$grps_catbits = \"" fetch_template("groups_browse_cathead") . "\";");
                        
$grps_catbits .= "<tr><td class=\"alt1\" align=\"center\">no groups found in this catergory at this time</td></tr>";
                        eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catfoot") . "\";");
            }
            else
            { 
// display the information
                
$row "0";
                while (
$grps_categoryinfo $db->fetch_array($grps_categories))
                {
                    if (
$row == 0)
                    {

                        eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_cathead") . "\";");

                        
// reset catname store
                        
$grps_catidstore $grps_categoryinfo['catid'];
                        
$seperator TRUE;
                    }

                    if (
$grps_catidstore != $grps_categoryinfo[catid] AND $row != 0)
                    {
                        eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catfoot") . "\";");
                        eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_cathead") . "\";");
                    }

                    
$grps_categoryinfo['catid'] = intval($grps_categoryinfo['catid']);
                    
$grps_categoryinfo['title'] = stripslashes($grps_categoryinfo['title']);
                    
$grps_categoryinfo['description'] = nl2br(stripslashes($grps_categoryinfo['description']));
                    
$grps_categoryinfo['catname'] = stripslashes($grps_categoryinfo['catname']);

                     eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catbit") . "\";");

                    if (
$grps_categoryinfo[catid] != $grps_catidstore)
                    {
                        
// reset catname store
                        
$grps_catidstore $grps_categoryinfo['catid'];
                    }
                    
$row++;
                } 
//now echo the date into the template
                
eval("\$grps_catbits .= \"" fetch_template("groups_browse_catfoot") . "\";");
            }

            if (
$vbulletin->GPC['c'] != "")
            {
                
$c intval($vbulletin->GPC['c']);

                
// creates the pagenav
                
$page = ($vbulletin->GPC['page'] < 1) ? "1" intval($vbulletin->GPC['page']);
                
$totalgroups $db->query_first("SELECT COUNT(groupid) AS total FROM grps WHERE approved = '1'");
                
$totalgroups $totalgroups['total'];
                
$currentlocation "browse.php?" $vbulletin->session->vars['sessionurl'] . "c=$c";
                
$perpage "25";
                
$pagenumber $page;
                
$lowerlimit = ($page $perpage);
                
$query_lowerlimit = ($lowerlimit $perpage);

                
$groupsforcat $db->query_read("
                    SELECT grps.groupid, grps.title, grps.description, grps.catid, grps_categories.title AS catname, grps.approved, grps.leaderid, grps_setting.hidden_group
                    FROM grps
                    LEFT JOIN grps_categories ON (grps_categories.catid = grps.catid)
                    LEFT JOIN grps_setting ON (grps_setting.groupid = grps.groupid)
                    WHERE grps.approved = '1' AND grps.catid = 
$c AND grps_setting.hidden_group != '1'
                    ORDER BY grps.title
                    LIMIT 
$query_lowerlimit$perpage
                "
);

                
$catname $db->query_first("
                    SELECT title AS catname, catid
                    FROM grps_categories
                    WHERE catid = 
$c
                "
);

                
$grps_categoryinfo2['catid'] = stripslashes($catname['catid']);
                
$grps_categoryinfo2['catname'] = stripslashes($catname['catname']);
                
$grps_categoryinfo['catid'] = stripslashes($catname['catid']);
                
$grps_categoryinfo['catname'] = stripslashes($catname['catname']);

                eval(
"\$grps_catbits = \"" fetch_template("groups_browse_cathead") . "\";");
                if (!
$db->num_rows($groupsforcat))
                { 
// no groups, this becomes obselete after the first group gets created
                       
$grps_catbits .= "<tr><td class=\"alt1\" align=\"center\">no groups found in this catergory at this time</td></tr>";
                }
                else
                { 
// display the information
                    
while ($grps_categoryinfo $db->fetch_array($groupsforcat))
                    {
                        
$grps_categoryinfo['title'] = stripslashes($grps_categoryinfo['title']);
                        
$grps_categoryinfo['description'] = nl2br(stripslashes($grps_categoryinfo['description']));

                         eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catbit") . "\";");
                    } 
//now echo the date into the template
                
}
                eval(
"\$grps_catbits .= \"" fetch_template("groups_browse_catfoot") . "\";");
            }
}


    
$pagenav construct_page_nav($pagenumber$perpage$totalgroups"browse.php?" $vbulletin->session->vars['sessionurl'], "" . (!empty($vbulletin->GPC['perpage']) ? "&amp;pp=$perpage"") . "");

    
$navbits = array();
    
$navbits["browse.php?" $vbulletin->session->vars['sessionurl'] . "c=" $grps_categoryinfo2['catid']] = $grps_categoryinfo2['catname'];
    
$navbits[''] = 'Browse Groups';

    
$navbits construct_navbits($navbits);

    
//handles the rest of the page and layout.
    
eval("\$grps_main .= \"".fetch_template("groups_browse")."\";");
    eval(
'$grps_navbar = "' fetch_template('groups_navbar') . '";');
    eval(
'$headinclude = "' fetch_template('headinclude') . '";');
    
$headinclude grps_rewrite_links($headinclude);
    eval(
'$navbar = "' fetch_template('navbar') . '";');
    
$navbar grps_rewrite_links($navbar);
    eval(
'$footer = "' fetch_template('footer') . '";');
    
$footer grps_rewrite_links($footer);
    eval(
"print_output(\"".fetch_template("GROUPS")."\");");

?>


BenJ it seems you're simply suffering the same problems as ericgtr and hippsta, please refer the help i provided for both of them.

sabret00the 09-24-2006 09:46 PM

Quote:

Originally Posted by hippsta
Sorry lol i meesed up and didn't refresh the test_stylevar.php after changing it around..


that was how it was...

it does put in some style.. check here, on the right where it says "Unity," and it puts in the dropdown menu arrows, and folder images...

but, the dropdowns have transparent backgrounds, and other obvious style strangeities are present..

Please refer to the last line or so of the install.txt, you'll have to install the plugin to fix your css.

Benj 09-24-2006 10:00 PM

Quote:

Originally Posted by sabret00the
BenJ it seems you're simply suffering the same problems as ericgtr and hippsta, please refer the help i provided for both of them.

im on about fixing my navbar links now you know that right ?

hippsta 09-24-2006 10:02 PM

Quote:

Please refer to the last line or so of the install.txt, you'll have to install the plugin to fix your css.
SICK!
Thank You for all your Hard Work & Support, that did it lol..

I'm voting this MOD for MotM simply because, besides its complete usefulness, and almost necessity in any Fori on the Web.. The Author has worked tirelessly updating, debugging, and supporting it.

CHEERS to You!!

sabret00the 09-24-2006 10:10 PM

Quote:

Originally Posted by Benj
im on about fixing my navbar links now you know that right ?

heh, ok i've caught up with your problem, please reupload the files, all except the product xml and the config and then let me know if the problem still exists.

sabret00the 09-24-2006 10:25 PM

Quote:

Originally Posted by hippsta
SICK!
Thank You for all your Hard Work & Support, that did it lol..

I'm voting this MOD for MotM simply because, besides its complete usefulness, and almost necessity in any Fori on the Web.. The Author has worked tirelessly updating, debugging, and supporting it.

CHEERS to You!!

glad you got it all working :)

Elpie 09-24-2006 10:47 PM

Quote:

Originally Posted by sabret00the
it appears to be looking for your files in a forum directory where as if you're running your forums in the root, then your errors should look like this

Fatal error: Call to undefined function: print_no_permission() in <domain>\htdocs\includes\functions_grps.php on line 387

Fatal error: Call to a member function clean_array_gpc() on a non-object in <domain>\htdocs\groups\index.php on line 82

But i'm pretty sure that's a config issue (server) and thus i'm incorrect.

are you not getting any errors regarding problems finding the global.php?

No, I was getting errors with finding the global.php but these were resolved when I hardcoded the full URL into config.

I still can't get it working, but I am not giving up! ;)

sabret00the 09-24-2006 10:55 PM

Quote:

Originally Posted by Elpie
No, I was getting errors with finding the global.php but these were resolved when I hardcoded the full URL into config.

I still can't get it working, but I am not giving up! ;)

reupload all the files please elpie and then let me know if you're still getting this error.

make sure that your config features your full path and not your url.

i.e. /home/yoursite/public_html/forums/

as opposed to

http://www.yoursite.com/forums/

ronoxQ 09-25-2006 12:13 AM

Dang, I'm running into a problem.

Now the page works: http://oasisforums.omegaseye.com/groups/. However, when I try to make a group, I get linked to http://oasisforums.omegaseye.com/?do=creategroup, not http://oasisforums.omegaseye.com/groups/?do=creategroup. How do I change this?

whitetigergrowl 09-25-2006 12:40 AM

I'm using SQL and PHP versions 5x. I click on the moderate groups option and get a nice sql error saying it can't find the members database. Also, when I create a group...or try...it gives me a 404. The forums are in a subdirectory like this: www.website.com/forums

Elpie 09-25-2006 12:45 AM

Ok, I have clearly messed something up. I uploaded again, as suggested, checked paths, and now I can load the index.php without errors EXCEPT I am getting the blasted permissions denied message.
I am logged in as admin so what have I missed?

This is an improvement as I didn't get past errors before, so I am getting there. ;)

bada_bing 09-25-2006 02:17 AM

Awesome thanks sabret00the GRPS Groups working on my site
Site : www.seekingadultfriends.com
Groups: www.seekingadultfriends.com/groups/

A couple bugs still to be worked out but getting there.

soletrader 09-25-2006 02:25 AM

Hello sabret00the,

In your RC3, do you think you can enable guests to view groups as well?

bada_bing 09-25-2006 02:28 AM

Anyone figure out how to post the Newest Groups, MOst Popular Groups, Largest Groups on vbadvance as a new block ?

toolblast 09-25-2006 05:13 AM

Hi Bada_bing!

Your site is looking GREAT! I'll see if I can help you out with the vbadvance blocks as I'm interested as well in that.

sabret00the 09-25-2006 05:23 AM

Quote:

Originally Posted by ronoxQ
Dang, I'm running into a problem.

Now the page works: http://oasisforums.omegaseye.com/groups/. However, when I try to make a group, I get linked to http://oasisforums.omegaseye.com/?do=creategroup, not http://oasisforums.omegaseye.com/groups/?do=creategroup. How do I change this?

I am not sure why your problem exists, is it literally just that link?

sabret00the 09-25-2006 05:25 AM

Quote:

Originally Posted by whitetigergrowl
I'm using SQL and PHP versions 5x. I click on the moderate groups option and get a nice sql error saying it can't find the members database. Also, when I create a group...or try...it gives me a 404. The forums are in a subdirectory like this: www.website.com/forums

what's the exact database error? and what's the url or the 404?

sabret00the 09-25-2006 05:26 AM

Quote:

Originally Posted by soletrader
Hello sabret00the,

In your RC3, do you think you can enable guests to view groups as well?

that's a usergroup permission problem, not a bug. please set your usergroup permissions to allow guests to view groups.

JayJay 09-25-2006 07:18 AM

Quote:

Originally Posted by Elpie
Ok, I have clearly messed something up. I uploaded again, as suggested, checked paths, and now I can load the index.php without errors EXCEPT I am getting the blasted permissions denied message.
I am logged in as admin so what have I missed?

This is an improvement as I didn't get past errors before, so I am getting there. ;)

Go to your AdminCP -> Usergroup Manager

Once there, you can choose usergroups to give GPRS permissions to by clicking Edit Usergroup and scrolling down to the bottom :)

sabret00the 09-25-2006 09:54 AM

i'm just waiting on RonoxQ's feedback before i release RC3, this release will update one file (index.php), add a new file (grps_deleter.php) and fix the missing phrases from the admincp.

[hr]x[/hr]

I also had a PM from someone wanting to translate the hack, and i'll reply here so as that all hack communities world-wide know the deal. if you'd like to translate the hack, i'm against it. however if you'd like to phrase the hack. that's a different story. if you're like to take the hard coded text, convert them to phrases (literally a copy and past job of which i'm bound to get round to sooner or later), you're allowed to do that, however i'll still only allow you to redistribute the phrases and not the full hack.

Ara-ara-ara, that sounds confusing :ermm:

Benj 09-25-2006 10:25 AM

sorted my links out im having a problem with one of my gradients now heres my test var thing

Quote:

sabe these are my image paths:
PHP Code:


Array
(
    [
imgdir_attach] => http://web.plugged.co.uk/images/bluesaint/attach
    
[imgdir_button] => http://web.plugged.co.uk/images/bluesaint/buttons
    
[imgdir_editor] => http://web.plugged.co.uk/images/bluesaint/editor
    
[imgdir_misc] => http://web.plugged.co.uk/images/bluesaint/misc
    
[imgdir_poll] => http://web.plugged.co.uk/images/bluesaint/polls
    
[imgdir_rating] => http://web.plugged.co.uk/images/bluesaint/rating
    
[imgdir_reputation] => http://web.plugged.co.uk/images/bluesaint/reputation
    
[imgdir_statusicon] => http://web.plugged.co.uk/images/bluesaint/statusicon
    
[outertablewidth] => 850
    
[spacersize] => 15
    
[titleimage] => http://web.plugged.co.uk/images/bluesaint/misc/logo.jpg
    
[formwidth_usercp] => 480px
    
[htmldoctype] => 
    [
htmlextrasfolder] => htmlextras
    
[imagesfolder] => images
    
[messagewidth] => 540px
    
[messagewidth_usercp] => 380px
    
[newreplyimage] => images2/buttons/reply.gif
    
[newthreadimage] => images2/buttons/newthread.gif
    
[outerborderwidth] => 20
    
[tablewidth] => 100%
    [
textareacols_ie4] => 70
    
[textareacols_ns4] => 50
    
[textareacols_ns6] => 65
    
[cellpadding] => 6
    
[cellspacing] => 1
    
[closedthreadimage] => images2/buttons/threadclosed.gif
    
[codeblockwidth] => 640px
    
[contenttype] => text/htmlcharset=ISO-8859-1
    
[formspacer] => 3
    
[formwidth] => 640px
    
[textdirection] => ltr
    
[left] => left
    
[right] => right
    
[languagecode] => en
    
[charset] => ISO-8859-1
    
[body_bgcolor] => #EEEEEE
    
[body_fgcolor] => #333333
    
[page_bgcolor] => #FFFFFF
    
[page_fgcolor] => #000000
    
[tborder_bgcolor] => #FFFFFF
    
[tborder_fgcolor] => #000000
    
[tcat_bgcolor] => #4E72A2
    
[tcat_fgcolor] => #FFFFFF
    
[thead_bgcolor] => #E0E0E0
    
[thead_fgcolor] => #666666
    
[tfoot_bgcolor] => #4E72A2
    
[tfoot_fgcolor] => #FFFFFF
    
[alt1_bgcolor] => #F6F6F6
    
[alt1_fgcolor] => #333333
    
[alt2_bgcolor] => #f4f4f4
    
[alt2_fgcolor] => #333333
    
[td.inlinemod_bgcolor] => #FFFFCC
    
[td.inlinemod_fgcolor] => #000000
    
[wysiwyg_bgcolor] => #F6F6F6
    
[wysiwyg_fgcolor] => #000000
    
[time_fgcolor] => #000000
    
[navbar_bgcolor] => #4E72A2
    
[navbar_fgcolor] => #FFFFFF
    
[highlight_fgcolor] => #FF0000
    
[fjsel_bgcolor] => #3E5C92
    
[fjsel_fgcolor] => #E0E0F6
    
[fjdpth0_bgcolor] => #F7F7F7
    
[fjdpth0_fgcolor] => #000000
    
[fjdpth3_bgcolor] => #3366FF
    
[panel_bgcolor] => #F6F6F6
    
[panel_fgcolor] => #000000
    
[panelsurround_bgcolor] => #738FB5
    
[panelsurround_fgcolor] => #000000
    
[legend_fgcolor] => #22229C
    
[vbmenu_control_bgcolor] => #4E72A2
    
[vbmenu_control_fgcolor] => #FFFFFF
    
[vbmenu_popup_bgcolor] => #F6F6F6
    
[vbmenu_popup_fgcolor] => #000000
    
[vbmenu_option_bgcolor] => #F6F6F6
    
[vbmenu_option_fgcolor] => #000000
    
[vbmenu_hilite_bgcolor] => #4E72A2
    
[vbmenu_hilite_fgcolor] => #FFFFFF
    
[outerdivwidth] => 850px
    
[divwidth] => auto
    
[imgdir_grps] => images/grps



but one image still appears like this
http://web.domain.co.uk/groups/image...ents/catbg.gif

sabret00the 09-25-2006 10:47 AM

Quote:

Originally Posted by Benj
sorted my links out im having a problem with one of my gradients now heres my test var thing


but one image still appears like this
http://web.domain.co.uk/groups/image...ents/catbg.gif

that pic doesn't work, but would i be right to assume that the problem is in regards to something like thead?

Elpie 09-25-2006 11:15 AM

Quote:

Originally Posted by JayJay
Go to your AdminCP -> Usergroup Manager

Once there, you can choose usergroups to give GPRS permissions to by clicking Edit Usergroup and scrolling down to the bottom :)

Aha! I guess one should never assume admins have full permissions! Thanks JayJay.

It's working, although I have some links going to the wrong places (no biggie, I will get that sorted).

This is going to be just great on my forum. Thanks sabret00the.


All times are GMT. The time now is 10:56 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.03003 seconds
  • Memory Usage 2,556KB
  • 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
  • (15)bbcode_php_printable
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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