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)

abramelin 02-27-2007 04:12 AM

Quote:

Originally Posted by abramelin (Post 1191378)
i have installed the product without any error but my problem is it doesnt find my css file. i have installed a plugin for using prefix in css path like you said in the readme file but it stils cant find the path. i have checked the source of the groups page and here is how it looks like
Code:

<link rel="stylesheet" type="text/css" href="http://www.9nokta2 Groups/clientscript/vbulletin_css/style-4b5abeb1-00007.css" id="vbulletin_css" />
this must be
Code:

<link rel="stylesheet" type="text/css" href="http://www.9nokta2.com/clientscript/vbulletin_css/style-4b5abeb1-00007.css" id="vbulletin_css" />
what can i do now?

bump, please help

sabret00the 02-27-2007 05:44 AM

Quote:

Originally Posted by abramelin (Post 1191666)
bump, please help

in includes/functions_grps.php find (line 420):
PHP Code:

        $vbulletin->options['bbtitle'], 

and replace with:
PHP Code:

        '>' $vbulletin->options['bbtitle'], 

now find (line 451):
PHP Code:

        $vbulletin->options['hometitle'] . ' ' $vbphrase['grps_groups'], 

and replace with:
PHP Code:

        '>' $vbulletin->options['hometitle'] . ' ' $vbphrase['grps_groups'], 

now save and upload.

that's untested, but should work.

abramelin 02-27-2007 11:37 AM

now its working but its very weird that it doesnt show my footer (shows the footer but without css styling)

sabret00the 02-27-2007 12:51 PM

Quote:

Originally Posted by abramelin (Post 1191843)
now its working but its very weird that it doesnt show my footer (shows the footer but without css styling)

your problem is due to this line
HTML Code:

<div style="margin:auto; padding:0; width: 698px; height: 36px;background: #f40000 url(images/style92/main/footer_bg.jpg) no-repeat;">

Merriweather 02-27-2007 09:48 PM

It's almost perfect for me at this point. I am still having issues with the reporting feature. You have it sending a PM to the group owner, and I wnated it to run like regular reporting -- the specified moderator gets the notice, or it gets posted to the specified forum just like any other reported message. When I did a post report, the group owner got this:

Quote:

Reporting Post: Post ID #61
Reason: test
Which is pretty much useless to her -- how does she know what post is #61?? Is it possible, or desirable to others to have the reporting work the same way as within the forums? I understand groups are a parallel feature to the forums, but I still want the administrators and moderators to maintain the final control, and therefore, want reports to go to them.

Also, this is small but irritating me to no end... on the group thread view, the spot where the post icon is supposed to show is still trying to post from the groups directory, even though I made all of my post icons defined with the full site URL. :(

silverleaf 02-27-2007 10:38 PM

I just did a fresh install and the Header and Footer css files aren't showing. I tried editing the functions_grps.php file like you said, but it still doesn't work. I know how to fix the smilies, but how do you fix the Header & Footer?

http://nwphotoforum.com/groups/groups.php?g=2

Merriweather 02-27-2007 11:53 PM

Quote:

Originally Posted by silverleaf (Post 1192257)
I just did a fresh install and the Header and Footer css files aren't showing. I tried editing the functions_grps.php file like you said, but it still doesn't work. I know how to fix the smilies, but how do you fix the Header & Footer?

http://nwphotoforum.com/groups/groups.php?g=2

Some of your CSS references are relative, and therefore, aren't going to work when you use the CSS outside of the forums folder. For instance:

images/gradients/gradient_panelsurround.gif

Should be

http://nwphotoforum.com/forums/image...elsurround.gif

silverleaf 02-28-2007 12:05 AM

What file/settings panel do I need to change this. Do I change a php file, a groups option setting, a vbulletin options setting, the .css file, a grps template, or something else?

Merriweather 02-28-2007 12:10 AM

Quote:

Originally Posted by silverleaf (Post 1192286)
What file/settings panel do I need to change this. Do I change a php file, a groups option setting, a vbulletin options setting, the .css file, a grps template, or something else?

It's your template.

Exitilus 02-28-2007 01:38 AM

Most likely ... go to the Template CSS Options and you'll see it there. I had to do the same thing.

silverleaf 02-28-2007 01:47 AM

This is the main GROUPS template. I assume this is the template in which the css needs to be made absolute. What code needs to be changed to make it absolute?

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[hometitle] $vbphrase[grps_groups]</title>
<if condition="!empty($bbuserinfo[grps])">
<link rel="alternate" type="application/rss+xml" title="$vboptions[hometitle] Groups RSS Feed" href="feed.php?u=$bbuserinfo[userid]" />
</if>
</head>
<body>
$header
$navbar

<h2>$grps_pagetitle</h2>
<br />
$grps_navbar
<br />
$grps_main

<!-- do not edit this please -->
<div align="center"><br />
  GRPS $grps_version by sabret00the for <a href="http://www.ebslive.com">EBS:L!VE</a></div>
<!-- /do not edit this please -->
<!-- latest -->
$footer
</body>
</html>


Exitilus 02-28-2007 01:50 AM

Not that.

go to Styles and Templates. Look at the CSS for all the templates. The images and stuff are setup there. All you need to do is add the exact URL to them.

silverleaf 02-28-2007 02:12 AM

Thanks you for your help. That did the trick. For those who are having the following problem here's how to fix it.

Problem: My header and footer css styles are not showing properly.

Solution: Go to your VB admin--->styles & templates--->main css--->scroll all the way down to "additional css definitions"---> the second box will have the image paths you need to change and make absolute. There are 4 paths to change. That should do the trick.

Thanks everyone

abramelin 02-28-2007 05:52 AM

Quote:

Originally Posted by sabret00the (Post 1191875)
your problem is due to this line
HTML Code:

<div style="margin:auto; padding:0; width: 698px; height: 36px;background: #f40000 url(images/style92/main/footer_bg.jpg) no-repeat;">

so what i am going to do? pff

sabret00the 02-28-2007 10:55 AM

Quote:

Originally Posted by Merriweather (Post 1192228)
It's almost perfect for me at this point. I am still having issues with the reporting feature. You have it sending a PM to the group owner, and I wnated it to run like regular reporting -- the specified moderator gets the notice, or it gets posted to the specified forum just like any other reported message. When I did a post report, the group owner got this:

Which is pretty much useless to her -- how does she know what post is #61?? Is it possible, or desirable to others to have the reporting work the same way as within the forums? I understand groups are a parallel feature to the forums, but I still want the administrators and moderators to maintain the final control, and therefore, want reports to go to them.

Also, this is small but irritating me to no end... on the group thread view, the spot where the post icon is supposed to show is still trying to post from the groups directory, even though I made all of my post icons defined with the full site URL. :(

I don't understand why she can't click the link to post #61? But i guess i get where you're coming from. What i'll do is in the next (major) version, i'll include the actual post along with the report and i'll add a hook so as that if people want to modify the report system and the way it acts then they can without modifying the original code. I must confess though, that wanting reports to go to admins is mind boggling. surely group owners are there to manage groups? but as i said, i'll add the hook.

for your last problem. can you post a snippet of the html source code please?

sabret00the 02-28-2007 10:59 AM

Quote:

Originally Posted by abramelin (Post 1192467)
so what i am going to do? pff

you're having the same problem as silverleaf, basically:
HTML Code:

<div style="margin:auto; padding:0; width: 698px; height: 36px;background: #f40000 url(images/style92/main/footer_bg.jpg) no-repeat;">
should be
HTML Code:

<div style="margin:auto; padding:0; width: 698px; height: 36px;background: #f40000 url(_____http://yoursite.com/forums/_____images/style92/main/footer_bg.jpg) no-repeat;">

abramelin 02-28-2007 01:40 PM

i have similar css stylings for table header but they are working so why?

Merriweather 02-28-2007 01:54 PM

Quote:

Originally Posted by sabret00the (Post 1192537)
I don't understand why she can't click the link to post #61? But i guess i get where you're coming from. What i'll do is in the next (major) version, i'll include the actual post along with the report and i'll add a hook so as that if people want to modify the report system and the way it acts then they can without modifying the original code. I must confess though, that wanting reports to go to admins is mind boggling. surely group owners are there to manage groups? but as i said, i'll add the hook.

It's not mind boggling, it's that not all groups are as trustworthy as yours, I suppose. I have had issues where users set up groups for the purpose of harassing others on the site and a group owner in such a group isn't going to give a crap if people are breaking forum rules, in which case the site management needs to step in. Also, if the post being reported is the group owner's, and they get the report, again, they aren't going to do anything about it. This is why reports need to go to admin -- at least for me, but I am guessing others would like to be able to have control over their groups as well, and not just let them do as they please. If you can give me a little direction, I can just tweak the code to not pull the userid of the group owner and instead PM it to my userid for now. :)

Merriweather 02-28-2007 02:02 PM

Quote:

Originally Posted by sabret00the (Post 1192537)
for your last problem. can you post a snippet of the html source code please?

Here's the snippet of HTML it's using on the thread view page:

Code:

<td class="alt1" id="td_post_59">
        <!-- message, attachments, sig -->
       
               
                        <!-- icon and title -->
                        <div class="smallfont">
                                <img class="inlineimg" src="images/icons/icon1.gif" alt="Default" border="0" />
                               
                        </div>
                        <hr size="1" style="color:#E8D9EC" />

                        <!-- / icon and title -->
               
               
                <!-- message -->

The "inlineimg" should be pulling from http://www.mysite.com/forums/images/icons/icon1.gif" but I can't seem to get it to do so. It appears where the post icon is supposed to.

Also, in testing again and getting the HTML for you, I have noticed that entering a post subject serves no purpose if you're replying to a group thread, as it doesn't appear anywhere and selecting a post icon does nothing as well, it's always just "Default" and no title.

Let me know if you need a better explanation than that. :)

Merriweather 02-28-2007 02:03 PM

I've just found that clicking "edit" and then selecting "Delete Message" also does nothing -- the message is still there.

sabret00the 02-28-2007 02:49 PM

Quote:

Originally Posted by Merriweather (Post 1192654)
It's not mind boggling, it's that not all groups are as trustworthy as yours, I suppose. I have had issues where users set up groups for the purpose of harassing others on the site and a group owner in such a group isn't going to give a crap if people are breaking forum rules, in which case the site management needs to step in. Also, if the post being reported is the group owner's, and they get the report, again, they aren't going to do anything about it. This is why reports need to go to admin -- at least for me, but I am guessing others would like to be able to have control over their groups as well, and not just let them do as they please. If you can give me a little direction, I can just tweak the code to not pull the userid of the group owner and instead PM it to my userid for now. :)

Wouldn't it then be better to have a feature which enables end-users to flag groups for reviewing by the administration team?

anyhoo in report.php find:
PHP Code:

    $pmdm->set_recipients($reportinfo['username'], $botpermissions); 

and replace with:
PHP Code:

    $pmdm->set_recipients('____YOUR_USERNAME___'$botpermissions); 


sabret00the 02-28-2007 02:52 PM

Quote:

Originally Posted by abramelin (Post 1192645)
i have similar css stylings for table header but they are working so why?

i'm seeing full paths as your header is controlled mostly by flash.

Merriweather 02-28-2007 03:04 PM

Quote:

Originally Posted by sabret00the (Post 1192684)
Wouldn't it then be better to have a feature which enables end-users to flag groups for reviewing by the administration team?

That's what reporting to the admin would do. ;)

I understand where you're coming from on thinking the group owner should have the control and receive the reports, but my site is just not like that. I am guessing there are others who would want the reports to go to site staff and not the group leader as well. I'll use the fix you provided for now (thanks!) but you might want to consider it as a switch in the future -- reports to group owner or staff.

abramelin 02-28-2007 06:58 PM

Quote:

Originally Posted by sabret00the (Post 1192686)
i'm seeing full paths as your header is controlled mostly by flash.

table header and the site's header are different things.

sabret00the 02-28-2007 08:00 PM

Quote:

Originally Posted by abramelin (Post 1192828)
table header and the site's header are different things.

sorry i misread it.

but even so
HTML Code:

.tcat

{

        background: #33CCFF  url(http://www.9nokta2.com/images/style92/gradients/gradient_tcat.gif) repeat-x top left;


abramelin 02-28-2007 08:38 PM

what about background? :)
it is
#CBE6F9 url(images/style92/main/bg.jpg) repeat-x

but working on the groups page

Exitilus 03-01-2007 01:21 AM

Add the exact URL. http://yourdomain.com/images/style92/main/bg.jpg

The image could be Cached

abramelin 03-01-2007 05:46 AM

you didnt understand the point, nevermind

Martin Belak 03-01-2007 08:53 AM

Thanks for this great plug in sabret00the, it works really fine. But I have two major issues with my installation, and I hope you can solve it for me.

1. I get "Fatal error: Cannot use object of type mysqli_result as array in /path/to/forum/includes/class_grps.php on line 183" every time i try to save changes in a post (editing posts). GRPS updates the post, but the message is still annoying.

2. [i m g]http://path/to/an/image.gif[/i m g] (without spaces) is shown as a link, not as an image in the posts. Is this a permission/setting thing? Where can I change it.

Hope you guys can help me.

/M

sabret00the 03-01-2007 12:44 PM

Quote:

Originally Posted by Martin Belak (Post 1193212)
Thanks for this great plug in sabret00the, it works really fine. But I have two major issues with my installation, and I hope you can solve it for me.

1. I get "Fatal error: Cannot use object of type mysqli_result as array in /path/to/forum/includes/class_grps.php on line 183" every time i try to save changes in a post (editing posts). GRPS updates the post, but the message is still annoying.

2. [i m g]http://path/to/an/image.gif[/i m g] (without spaces) is shown as a link, not as an image in the posts. Is this a permission/setting thing? Where can I change it.

Hope you guys can help me.

/M

1/ is that editgroup.php?

2/ i have no idea what that problem is all about, can i see the html source of said image?

sabret00the 03-01-2007 12:45 PM

Quote:

Originally Posted by Merriweather (Post 1192657)
I've just found that clicking "edit" and then selecting "Delete Message" also does nothing -- the message is still there.

fixed.

Martin Belak 03-01-2007 03:55 PM

Quote:

Originally Posted by sabret00the (Post 1193302)
1/ is that editgroup.php?

No, its editpost.php

I have editpost.php?do=editpost&p=49 in the location field before i send the edit-form, and just editpost.php after submitting the form.


2/ i have no idea what that problem is all about, can i see the html source of said image?
Hm... I've added the image with:
Code:

[i m g]https://gnuf.com/community/up/pokerppoker-CCPCQ6.jpg[/i m g]
but have
Code:

<a href="https://gnuf.com/community/up/pokerppoker-CCPCQ6.jpg" target="_blank">https://gnuf.com/community/up/pokerppoker-CCPCQ6.jpg</a>
in the html output. This issue may maybe be caused by vBSEO...

/M

Merriweather 03-01-2007 05:50 PM

Quote:

Originally Posted by sabret00the (Post 1193304)
fixed.

Excellent. Are you doing a new release soon? :)

DJ XtAzY 03-01-2007 06:24 PM

Quote:

Originally Posted by sabret00the (Post 1165065)
interesting idea.

awesome! at least i feel there's some hope. It will be so much better to make the existing threads worth something rather starting all over again. Also is it possible to have the post counts in the groups be added towards the user's forum total post count?

Merriweather 03-02-2007 05:56 AM

Another bug:

I went into the Admin Panel and went to Groups Editor (Delete). I entered the group number I wanted to delete, and then it took me to the confirmation screen, and I deleted. However, it then bounced me back to the Category delete screen, and had I not noticed, I could have wiped out a category with my next deletion!

Not a bug but need help:

I got a DB error when deleting a group:

Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:

DELETE FROM grps_post
WHERE groupid = 13;

MySQL Error : Incorrect key file for table 'grps_post'; try to repair it
Error Number : 1034
Date : Thursday, March 1st 2007 @ 11:47:10 PM
Script : <edited>/forums/admincp/grps_deleter.php?do=dodeletegroup
Referrer : <edited>/forums/admincp/grps_deleter.php?do=confirm&what=group&groupid=13
IP Address : <edited>
Username : <edited>
Classname : vb_database
I repaired the table, but now the posts from the group are still in my DB, it's just that the group info is gone. So, it doesn't show on any of the groups pages, but if I go to groups.php?g=13 (where 13 is the id of the deleted group), I still see all of the posts and everything. How can I wipe out that data?

Also, I see that if I go to groups.php?g=XX where XX is a non-existent group, I get a blank page that looks like a Group home page, but obviously has no data. Can this be fixed to give a "Group Does Not Exist" error or something?

Merriweather 03-02-2007 06:06 AM

Another request -- when browsing groups via browse.php, if the group has an image or other BBCode in the Group description it shows as BBCode -- can that be changed to either strip code or convert it? If it converts, it could be an issue because my users post images (sometimes large) in their descriptions, so that would take up a lot of space.

Also, I see that the ENTIRE description shows on browse.php which is bad for me, since my users have LONG descriptions for their groups -- my page will scroll for ever at this rate. Is it possible to (1) make group descriptions collapsible on this page and have them collapsed by default or truncate the text included on browse.php?

One unrelated suggestion -- when you're in ACP and go to Groups Editor (Edit) and you enter a non-existant group, the "Group Not Found" message should be at the top, and preferably, the other editing controls should not show at all.

sabret00the 03-02-2007 10:08 AM

Quote:

Originally Posted by Martin Belak (Post 1193446)
No, its editpost.php

I have editpost.php?do=editpost&p=49 in the location field before i send the edit-form, and just editpost.php after submitting the form.


2/ i have no idea what that problem is all about, can i see the html source of said image?
Hm... I've added the image with:
Code:

[i m g]https://gnuf.com/community/up/pokerppoker-CCPCQ6.jpg[/i m g]
but have
Code:

<a href="https://gnuf.com/community/up/pokerppoker-CCPCQ6.jpg" target="_blank">https://gnuf.com/community/up/pokerppoker-CCPCQ6.jpg</a>
in the html output. This issue may maybe be caused by vBSEO...

/M

1/ fixed

2/ i'm not sure what that problem revolves around, but i'm guessing it is your SEO mod.

sabret00the 03-02-2007 10:09 AM

Quote:

Originally Posted by Merriweather (Post 1193529)
Excellent. Are you doing a new release soon? :)

hopefully today.

sabret00the 03-02-2007 10:11 AM

Quote:

Originally Posted by XtAzY (Post 1193548)
Also is it possible to have the post counts in the groups be added towards the user's forum total post count?

it's not something i'm going to fold into this project but the hooks are in place so as that any developer/hacker/coder can easily add the functionality and release it.

sabret00the 03-02-2007 10:22 AM

Quote:

Originally Posted by Merriweather (Post 1193918)
Another bug:

I went into the Admin Panel and went to Groups Editor (Delete). I entered the group number I wanted to delete, and then it took me to the confirmation screen, and I deleted. However, it then bounced me back to the Category delete screen, and had I not noticed, I could have wiped out a category with my next deletion!

Not a bug but need help:

I got a DB error when deleting a group:



I repaired the table, but now the posts from the group are still in my DB, it's just that the group info is gone. So, it doesn't show on any of the groups pages, but if I go to groups.php?g=13 (where 13 is the id of the deleted group), I still see all of the posts and everything. How can I wipe out that data?

Also, I see that if I go to groups.php?g=XX where XX is a non-existent group, I get a blank page that looks like a Group home page, but obviously has no data. Can this be fixed to give a "Group Does Not Exist" error or something?

1/ Fixed

2/ you should just be able to go through the deletion process again, however if that doesn't work, run these query[sql] DELETE FROM grps_post
WHERE groupid = 13;

DELETE FROM grps_setting
WHERE groupid = 13;

DELETE FROM grps_thread
WHERE groupid = 13;

DELETE FROM grps_user
WHERE groupid = 13;

[/sql]


All times are GMT. The time now is 04:22 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.03169 seconds
  • Memory Usage 1,889KB
  • 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
  • (8)bbcode_code_printable
  • (5)bbcode_html_printable
  • (6)bbcode_php_printable
  • (26)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