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)

Snake 09-30-2006 01:39 PM

Quote:

Originally Posted by sabret00the
sorry, you need the trailing slashes

PHP Code:

chdir('../forums/'); 


Okay Sabe, this is pissing me off. I don't know what's the problem here. Everything is fine as it is so I've PM'ed you with the FTP info to my site. You can check for yourself where I did wrong.

murrtex 09-30-2006 03:50 PM

I updated but still same errors ..
http://www.4umturk.com/groups/

sabret00the 09-30-2006 04:37 PM

Quote:

Originally Posted by murrtex
I updated but still same errors ..
http://www.4umturk.com/groups/

your problem is simply a css problem.

do a search within this thread for "css" and all your questions will be answered, fi that still doesn't help you. come back to me.

Lionel 09-30-2006 05:16 PM

Everything appears to be fine with that last RC 2.06

couple suggestions though. In the functions_grps, in the replacements, I put one quote in front of them.
Quote:

'"usercp.php',
Why? Some times it's harcoded like /forums/usercp.php for other hacks, and the replacement of course only picks up user.cp and reput the vburl in front again, making it double. So by putting the quote in front of it, we insure that it is right after "=" and nothing else is there.

in postings.php you need to fix the replacememt for reputation.gif and put it exactly as it is in template (remove the extra dots)

sabret00the 09-30-2006 05:23 PM

Quote:

Originally Posted by Lionel
Everything appears to be fine with that last RC 2.06

couple suggestions though. In the functions_grps, in the replacements, I put one quote in front of them.


Why? Some times it's harcoded like /forums/usercp.php for other hacks, and the replacement of course only picks up user.cp and reput the vburl in front again, making it double. So by putting the quote in front of it, we insure that it is right after "=" and nothing else is there.

in postings.php you need to fix the replacememt for reputation.gif and put it exactly as it is in template (remove the extra dots)

not sure what you mean on the postings.php one Lionel, that's not supposed to do anything bar show the IP or enable you to stick/close/delete a thread.

Lionel 09-30-2006 05:27 PM

Quote:

Originally Posted by sabret00the
not sure what you mean on the postings.php one Lionel, that's not supposed to do anything bar show the IP or enable you to stick/close/delete a thread.

sorry I meant viewthread.php

here is my corrected one

Quote:

'<span id="reputationmenu',
' Reputation" border="0" /></a></span>',
'src="$stylevar[imgdir_button]/infraction.gif"'

sabret00the 09-30-2006 05:33 PM

Quote:

Originally Posted by Lionel
sorry I meant viewthread.php

here is my corrected one

the reputation image/link should be commented out while the infraction.gif is changed to clear.gif and set as width="0" height="0".

what extra dots are there?

Lionel 09-30-2006 05:35 PM

Quote:

Originally Posted by sabret00the
the reputation image/link should be commented out while the infraction.gif is changed to clear.gif and set as width="0" height="0".

what extra dots are there?

'src="' . $stylevar['imgdir_button'] . '/infraction.gif"'

your code:

PHP Code:

 $postbit str_replace(
  array(
   
'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"'
  
), 


Lionel 09-30-2006 05:38 PM

that was infraction.gif

sabret00the 09-30-2006 05:41 PM

Quote:

Originally Posted by Lionel
that was infraction.gif

the full code should look like this.
PHP Code:

    $postbit str_replace(
        array(
            
//'image.php',
            
'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"'

        
),
        array(
            
//$vbulletin->options['bburl'] . '/image.php',
            
$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"'

        
),
    
$postbit); 

minus the commented out lines. please note, that's both tested and workng as far as i can tell. i.e. on my board.


All times are GMT. The time now is 07:38 PM.

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.02304 seconds
  • Memory Usage 1,772KB
  • 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
  • (3)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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