Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-16-2012, 04:00 PM
AshenTemper's Avatar
AshenTemper AshenTemper is offline
 
Join Date: Mar 2006
Location: Austin, Texas
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vBulletin Dev/Staff Tracker

I have an old "Dev Tracker" that I used when I worked at previous companies that would track the posts from specific posts of individuals in a certain group and post them all out (basically a custom search). It's akin to the "Blue Post Tracker" for Blizzard (ex: http://blue.mmo-champion.com/) but instead lists out the entire post (here's the one I used when I worked on TOR: http://www.swtor.com/community/devtracker.php)

I am looking to get this working in 4.1.12 where my version is from 3.8.5 and will definitely need some changes due to that.

With this upgrade, I would also like to:
  • make the ForumIDs something that can be configured view Options instead of hardcoded
  • make the GroupIDs something that can be configured view Options instead of hardcoded

... this way they can be changed via Options instead of having to upload the file each time a change is needed.

Once done, I'd like the mod released to the community since I see a couple people have been requesting something like it over the years.

Like I said, I have the original version so you wouldn't have to start from scratch but it would need someone that understands both 3.8 and 4.1 versions of vBulletin. I was wondering if there is anyone here who would be interested in helping with something like this.

- Sean
Reply With Quote
  #2  
Old 05-16-2012, 04:03 PM
AshenTemper's Avatar
AshenTemper AshenTemper is offline
 
Join Date: Mar 2006
Location: Austin, Texas
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am aware of the Staff Tracker mod by GeekyDesigns and I am already using that. There mod is different than what I am looking for - it shows in forumdisplay and in the thread itself if there is a staff post. What I am looking for (in conjunction to that) is a custom search as I wrote above.
Reply With Quote
  #3  
Old 05-16-2012, 04:33 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Who wrote the 3.x version of your mod? Is it available here?
Reply With Quote
  #4  
Old 05-16-2012, 04:57 PM
AshenTemper's Avatar
AshenTemper AshenTemper is offline
 
Join Date: Mar 2006
Location: Austin, Texas
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have it at home (at the office right now). It was written ages ago for me by a community member that I used when I worked at a few different mmo sites/companies.

I can upload it tonight (or make a mod of it) since it was created for me to use publicly (and free of charge). The original guy was going to update it for me but he's unfamiliar with vB4.

--------------- Added [DATE]1337191415[/DATE] at [TIME]1337191415[/TIME] ---------------

Forgot I had attached it when I was emailing him recently about it. Here is the code for it:

Code:
<?php

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

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT', 'DevTracker');

// ################### 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(
        'devtracker','dev_post'
);

// pre-cache templates used by specific actions
$actiontemplates = array();

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');

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





// #############################################################################
// draw navbar
if ($page=="" || $page==0)
$page=1;

$pmin = ($page-1) * 30;
$pmax = $page * 30;

$navbits = array();
$navbits[''] = "Dev Tracker";
$navbits = construct_navbits($navbits);
$dev_posts = $db->query_read('SELECT post_parsed.pagetext_html AS posttext, post.userid AS userid, post.postid, post.threadid, post.username AS username, thread.title AS title, forum.forumid, forum.title as forum_name, post.dateline AS dateline
FROM post, post_parsed, user, thread, forum
WHERE post.userid = user.userid
AND post.threadid = thread.threadid
AND post.postid = post_parsed.postid
AND thread.forumid = forum.forumid
AND user.usergroupid = 10
AND forum.forumid NOT IN(3,12,13,14,17,19,20,21,22)
ORDER BY post.dateline DESC
LIMIT '.$pmin.', '.$pmax);
$count = 0;
while ($dev_post = $db->fetch_array($dev_posts))
{
  if ($count % 2 == 0){
    $alt_type = "alt1";
  } else {
    $alt_type = "alt2";
  }
$dev_post[posttext] = str_replace('<td class="alt2" style="border:1px inset">','<td class="alt2" style="font-size:10px ;border:1px inset">',$dev_post[posttext]);
$date_posted = date("m-d-Y", $dev_post[dateline]);
$time_posted = date("h:i A", $dev_post[dateline]);
eval('$stuff .= "' . fetch_template('dev_post') . '";');
$count++;
}

$pages = $count % 30;
$page_text = "";
for ($i = 1; $i < $pages; $i++){
  $page_text .= "$i ";
}

//$stuff .= "<br/>Page: $page_text";

eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('devtracker') . '");');

?>
Note that these are the variables I would like to make config options:

Code:
AND user.usergroupid = 10
AND forum.forumid NOT IN(3,12,13,14,17,19,20,21,22)


Should I add it as a mod? Unsure how much 3x is used these days...
Reply With Quote
  #5  
Old 05-16-2012, 06:08 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can see there are at least 2 templates also part of the mod (Probably in the product XML file) - someone would need all of it (the xml file) to try an upgrade it to VB4.

And no, as is it's not a complete mod so there is no mod to release.
Reply With Quote
  #6  
Old 05-16-2012, 06:13 PM
AshenTemper's Avatar
AshenTemper AshenTemper is offline
 
Join Date: Mar 2006
Location: Austin, Texas
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll find the rest when I get home tonight. I have backups of all the sites/stuff I did so it'll be in there somewhere.

Thanks for the help.
Reply With Quote
  #7  
Old 06-01-2012, 05:59 PM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd also like this...
Reply With Quote
  #8  
Old 06-01-2012, 06:55 PM
AshenTemper's Avatar
AshenTemper AshenTemper is offline
 
Join Date: Mar 2006
Location: Austin, Texas
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tim Wheatley View Post
I'd also like this...
I have someone working on this now and it'll become a public mod once done. I'll make sure to post a link to it here then.

- Sean
Reply With Quote
  #9  
Old 06-02-2012, 01:02 AM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Sean. Did you pay them? If so I'd happily send you a small token of good will via Paypal if you like? PM me if you want. Otherwise, I await posting, thanks.
Reply With Quote
  #10  
Old 06-29-2012, 11:01 PM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Any update on this?

Thanks

Tim
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:44 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.06055 seconds
  • Memory Usage 2,259KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete