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)

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.


All times are GMT. The time now is 11:39 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.02206 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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