Go Back   vb.org Archive > Search Forums
FAQ Community Calendar Today's Posts Search

Showing results 1 to 25 of 60
Search took 0.00 seconds.
Search: Posts Made By: Darth Cow
Forum: vB3 Programming Discussions 02-06-2006, 07:12 PM
Replies: 3
Views: 1,011
Posted By Darth Cow
Version specific PHP code?

This code works just fine on localhost, running PHP 5.0.5. On the live site, running PHP 4.3.2, I get the following error:

Parse error: parse error, expecting `T_VARIABLE' or `'$'' in...
Forum: vB3 General Discussions 07-28-2005, 12:36 AM
Replies: 1
Views: 1,459
Posted By Darth Cow
Quick question about bbcode_create hook and OO PHP

Please take a look at this bug report I filed pre-RC1:
http://www.vbulletin.com/forum/bugs35.php?do=view&bugid=693

I don't understand what Mike means by "You should be able to use class type...
Forum: vBulletin 3.0 Full Releases 02-14-2005, 01:49 AM
Replies: 15
Views: 9,643
Posted By Darth Cow
Yes, edit the option and set "Field Required" to...

Yes, edit the option and set "Field Required" to "No."

Limiting it to certain usergroups is beyond the scope of the built in vBulletin options for profile fields.

However, you can only choose...
Forum: vBulletin 3.0 Full Releases 01-15-2005, 05:13 AM
Replies: 15
Views: 9,643
Posted By Darth Cow
I thought about this too, but I thought that such...

I thought about this too, but I thought that such a modification would require saving the formatting in the database. Now, it occurs to me that I could simply strip out bb code immediately at the...
Forum: vBulletin 3.0 Full Releases 01-10-2005, 10:00 PM
Replies: 15
Views: 9,643
Posted By Darth Cow
User setable default BB code formatting for each post

Allow your users to set default formatting for each of their newpostswith the familiar BB code via the options page in their controlpanel.

This requires one file edit and adding a...
Forum: vBulletin 2.x Full Releases 03-09-2003, 12:20 AM
Replies: 20
Views: 4,109
Posted By Darth Cow
If you find the same piece of code in 2.3.0, the...

If you find the same piece of code in 2.3.0, the hack should work fine. Even though I have not yet had the chance to test this on 2.3.0, the base code for vBulletin changes very little with new...
Forum: vBulletin 2.x Full Releases 02-12-2003, 02:55 AM
Replies: 34
Views: 5,930
Posted By Darth Cow
Nifty :). I created a hack like this for my own...

Nifty :). I created a hack like this for my own forum, actually, since it didn't make sense super mods could ban but not unban if there were a mistake. But I was too lazy to realize it :D.
Forum: vB3 General Discussions 01-07-2003, 01:24 AM
Replies: 1
Views: 800
Posted By Darth Cow
$_COOKIE['bbuserid'] stores userids and...

$_COOKIE['bbuserid'] stores userids and $_COOKIE['bbpassword'] stores passwords, all assuming users have "Automatically login when you return to the site" selected. You can get the username and check...
Forum: vB3 General Discussions 01-07-2003, 12:45 AM
Replies: 10
Views: 1,588
Posted By Darth Cow
Not to my knowledge, but it will be definately...

Not to my knowledge, but it will be definately included in vBulletin 3.0 :).
Forum: vB3 Programming Discussions 01-03-2003, 07:24 PM
Replies: 13
Views: 1,216
Posted By Darth Cow
Actually, I do, because my database is structured...

Actually, I do, because my database is structured so that it updates hits in a batch when an updating script parses a much less stressful flat file that saves sites visited. So "hitscount" is the...
Forum: vB3 General Discussions 01-03-2003, 05:36 AM
Replies: 6
Views: 1,077
Posted By Darth Cow
Not just that. Admin editing of users and normal...

Not just that. Admin editing of users and normal user preferences need to be shared too.
Forum: vB3 Programming Discussions 01-03-2003, 03:25 AM
Replies: 13
Views: 1,216
Posted By Darth Cow
Thanks for the code, TECK, but I already had...

Thanks for the code, TECK, but I already had figured out a solution :). Your code wouldn't work anyways though, besides the fact that I'm not doing in vB, that also doesn't fit my data format :D....
Forum: vB3 Programming Discussions 01-02-2003, 11:45 PM
Replies: 13
Views: 1,216
Posted By Darth Cow
I realized that I was needlessly added in the...

I realized that I was needlessly added in the SUM() part that was already taken care of by the grouping, so it was repetative. The solution I can up with on my own (using mysql_num_rows()) isn't...
Forum: vB3 Programming Discussions 01-02-2003, 07:38 PM
Replies: 13
Views: 1,216
Posted By Darth Cow
MySQL query help please

Here is my current MySQL query...

SELECT SUM(hitscount) AS totalhits FROM hits WHERE time>123456789 AND siteid=10 GROUP BY siteid

This query works great most of the time, but sometimes there...
Forum: vBulletin 2.x Full Releases 12-31-2002, 10:56 PM
Replies: 35
Views: 9,191
Posted By Darth Cow
Awesome hack. I installed it last night in less...

Awesome hack. I installed it last night in less than 5 minutes and my members have already made several dozen posts on the thread I made for feedback praising it :).
Forum: vBulletin 2.x Full Releases 12-10-2002, 10:02 PM
Replies: 20
Views: 4,109
Posted By Darth Cow
You'll need to set the default tag for your group...

You'll need to set the default tag for your group to be "Moderator" (with whatever markup you choose), and this tag will added the custom title on underneath. I just updated the hack a bit so that it...
Forum: vBulletin 2.x Beta Releases 12-10-2002, 12:03 AM
Replies: 16
Views: 3,359
Posted By Darth Cow
Cool :). However, the hack still isn't very...

Cool :). However, the hack still isn't very secure - the MD5 algorithm is known, so someone could change the date and then md5 the changes as well. Now that I think about, you're right that you don't...
Forum: vBulletin 2.x Full Releases 11-17-2002, 05:28 PM
Replies: 20
Views: 4,109
Posted By Darth Cow
What do you mean? How did it stuff it up? I just...

What do you mean? How did it stuff it up? I just tried installing this hack on a fresh install of 2.2.8, and it worked just fine... :paranoid:
Forum: vBulletin 2.x Beta Releases 11-17-2002, 06:14 AM
Replies: 16
Views: 3,359
Posted By Darth Cow
Good idea, but your method isn't very secure -...

Good idea, but your method isn't very secure - one can simply edit the time in the cookie. I think that encoding the time into the password part of the cookie (used for authentication) would be the...
Forum: vBulletin 2.x Full Releases 09-29-2002, 08:28 PM
Replies: 20
Views: 4,109
Posted By Darth Cow
Ok, my webmaster has been very busy and not...

Ok, my webmaster has been very busy and not around much for the past couple of weeks. If someone could email me the new member.php file (darth.cow@mindspring.com) it would be appreciated :).
Forum: vBulletin 2.x Full Releases 09-18-2002, 01:18 AM
Replies: 20
Views: 4,109
Posted By Darth Cow
I'll have to get back to you guys on this one -...

I'll have to get back to you guys on this one - we're running 2.2.6, and I'm not the one who owns the license (that's the other webmaster), so I haven't had a look at the source code for 2.2.7 yet....
Forum: vB3 Programming Discussions 09-08-2002, 08:09 PM
Replies: 4
Views: 840
Posted By Darth Cow
I figured it out! The server must be setup...

I figured it out!

The server must be setup to redirect all folder lookups without the following slash to mtgnews.com/ whatever, not to server I'm working on right now (what will soon be the...
Forum: vB3 Programming Discussions 09-08-2002, 04:48 PM
Replies: 4
Views: 840
Posted By Darth Cow
That makes sense, but then it doesn't considering...

That makes sense, but then it doesn't considering that I don't mention the URL for the old site anywhere in my code! I attached the redirection page in case anyone can make any sense of it.

I...
Forum: vB3 Programming Discussions 09-08-2002, 04:39 AM
Replies: 4
Views: 840
Posted By Darth Cow
Ok, now it appears that anyone who goes to the...

Ok, now it appears that anyone who goes to the page gets redirected to the wrong place! This is getting really wierd - anyone have a clue?
Forum: vB3 Programming Discussions 09-08-2002, 04:19 AM
Replies: 4
Views: 840
Posted By Darth Cow
Caching of Location headers

Ok, I'm having this really annoying problem with this program I'm writing.

It's a link of sites. I have a page go/index.php that takes the $QUERY_STRING as the site url to go to, increments the...
Showing results 1 to 25 of 60

 
Forum Jump

All times are GMT. The time now is 12:28 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.01884 seconds
  • Memory Usage 2,047KB
  • 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
  • (1)footer
  • (1)forumjump
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (2)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (25)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (41)threadbit_pagelink 

Phrase Groups Available:
  • global
  • inlinemod
  • prefix
  • search
Included Files:
  • ./search.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_search.php
  • ./includes/functions_databuild.php
  • ./includes/functions_forumlist.php
  • ./includes/functions_misc.php
  • ./includes/functions_forumdisplay.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • search_before_process
  • search_start
  • search_results_start
  • search_results_query_posts
  • search_results_prebits
  • threadbit_process
  • search_results_postbit
  • pagenav_page
  • pagenav_complete
  • forumjump
  • search_complete
  • navbits
  • navbits_complete