vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Update 4.0.4a - [AJAX] - Advanced Forum Statistics (https://vborg.vbsupport.ru/showthread.php?t=232811)

Trek 01-25-2010 08:40 PM

These are both things I just figure out myself, here ya go. =)

Quote:

Originally Posted by Siyico (Post 1966420)
I'm having a little trouble. can somebody help me out?

1) Im trying to move it where the lines are pointed, but im not sure what code i need to move and not sure which template to edit.#

Open the options for the Forum Stats mod, Set "Auto Template" to "No".

Edit the FORUMHOME template, search for: <!-- what's going on box -->

Add BEFORE: {vb:raw ad_location.vietv2b_topx}

Quote:

Originally Posted by Siyico (Post 1966420)
2) Is there any way i can change the colour scheme? it does NOT look good at the moment.

Open your templates -> CSS Templates -> +++++++_topstats.css << for some reason, that's getting censored. template name is: vietv bb _ topstats.css

Edit the values there.


Thanks for any help etc :)[/quote]

Siyico 01-25-2010 09:39 PM

Quote:

Originally Posted by Trek (Post 1966486)
These are both things I just figure out myself, here ya go. =)


Thanks a ton bro, really helped me out.

Don't suppose there is a way i can delete the white - - - - - - line ?

Thanks <33

LifesGreatestGift 01-26-2010 05:39 AM

Will someone please figure out a way to implement the postid into this script. I hate clicking a link, and having to scroll down to the post. Example:

The links look like this:
hxxp://thewindows7site.com/forum/threads/16995-Going-out-and-buying-a-Windows-7-PC?goto=newpost

And the link resolves into this:
hxxp://thewindows7site.com/forum/threads/16995-Going-out-and-buying-a-Windows-7-PC?p=142741

It needs to resolve into this:
hxxp://thewindows7site.com/forum/threads/16995-Going-out-and-buying-a-Windows-7-PC?p=142741#post142741


https://vborg.vbsupport.ru/external/2010/01/24.jpg

LifesGreatestGift 01-26-2010 06:15 AM

Nvm, Ive figured out why the links are messed up.

Open up ./includes/class_core.php

Go to line: 2640

Find:
PHP Code:

        // save
        
if (!$path)
        {
            
$this->registry->relpath $relpath;
        }

        return 
$relpath;
    } 


Replace With:
PHP Code:

        // save
        
if (!$path)
        {
            
$this->registry->relpath $relpath;
        }
                if (
$fragment parse_url($pathPHP_URL_FRAGMENT))
            {
                        
$relpath .= '#' $fragment;
                }


        return 
$relpath;
    } 



Enjoy! :)

Fusion2 01-26-2010 01:21 PM

Awesome, I love it!

A few wish list items:

1. Ability to remove "Posted By USER INFO" from Latest Post.

2, Ability to remove "Registration Date" from Newest Member display on dropdown menu list.

3. When viewing LAST POST, it shows the words "Article" before each CMS post, but it doesnt show the same thing for FORUMS or BLOGS?

drummaster 01-27-2010 02:05 AM

Quote:

Originally Posted by TheWindows7Site (Post 1966828)
Nvm, Ive figured out why the links are messed up.

Open up ./includes/class_core.php

Go to line: 2640

Find:
PHP Code:

        // save
        
if (!$path)
        {
            
$this->registry->relpath $relpath;
        }

        return 
$relpath;
    } 


Replace With:
PHP Code:

        // save
        
if (!$path)
        {
            
$this->registry->relpath $relpath;
        }
                if (
$fragment parse_url($pathPHP_URL_FRAGMENT))
            {
                        
$relpath .= '#' $fragment;
                }


        return 
$relpath;
    } 



Enjoy! :)

Thanks for the post but i havent got that code to find in my class_core.php
this has got me why not.

Tripolis 01-27-2010 02:27 AM

Hi !!

I install this addon.

I have delete a forum.
When someone go to the deleted forum i become a database errror.
The problem, i deleted it and someone comes from google to this old forum.

Quote:

Datenbankfehler in vBulletin 4.0.1:

Invalid SQL:

SELECT thread.threadid, thread.title, thread.lastpost, thread.forumid, thread.replycount, thread.postusername, thread.postuserid, thread.lastposter, thread.lastposterid, thread.dateline, thread.views, thread.visible, thread.open, user.usergroupid, user.displaygroupid
FROM thread AS thread
LEFT JOIN user AS user ON (user.userid = thread.lastposterid)
WHERE NOT ISNULL(thread.threadid) AND thread.visible = '1' AND thread.open!='10' AND thread.forumid NOT IN(7,34,35,)
ORDER BY lastpost DESC
LIMIT 0, 8;

MySQL-Fehler : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
ORDER BY lastpost DESC
LIMIT 0, 8' at line 4
Fehler-Nr. : 1064
Fehler-Zeit : Tuesday, 26.01.2010 @ 20:02:43
Datum : Tuesday, 26.01.2010 @ 20:02:43
Skript : http://www.xxxx/forums/19-VZ-Portale-Kontakt
Referrer :
IP-Adresse : 67.xxxxxxxxxxxxxxxx
Benutzername : Unregistriert
Klassenname : vB_Database
MySQL-Version :
I think, it comes form this addon.

Trek 01-27-2010 04:05 AM

I wanted to add in the forum the posts were in as well and came up with this. Might be a better way to do it, but it worked for me. =)

Open template: viet vbb_topstats_latest_posts

Find:

Code:

{vb: raw content.threadinfo}
Add Above

Code:

        <div style="padding-left:60%;">
        <a href="{vb:raw bburl}forumdisplay.php?{vb:var content.forumid}">{vb:raw content.fullforumtitle}</a>
        </div>


Trek 01-27-2010 04:05 AM

Also, if anyone figures out where that annoying white dashed line is... please tell me. I can't find it and would LOVE to remove it. (Looks like hell on a dark background)

RL714 01-27-2010 04:13 AM

1 Attachment(s)
Quote:

Originally Posted by Trek (Post 1967654)
Also, if anyone figures out where that annoying white dashed line is... please tell me. I can't find it and would LOVE to remove it. (Looks like hell on a dark background)

that is an images listbg.gif in folder topx, you may download my listbg.gif blank to replace as you want


All times are GMT. The time now is 11:57 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.01541 seconds
  • Memory Usage 1,764KB
  • 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
  • (4)bbcode_php_printable
  • (6)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
  • (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