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

Showing results 1 to 25 of 27
Search took 0.00 seconds.
Search: Posts Made By: Medi0cr3
Forum: vB4 Programming Discussions 07-22-2017, 03:16 PM
Replies: 4
Views: 597
Posted By Medi0cr3
never mind. its inherent. thanks dude. I had it...

never mind. its inherent. thanks dude. I had it practically, just global spam was needed

--------------- Added 1500743867 at 1500743867 ---------------

To build upon this post I've included the...
Forum: vB4 Programming Discussions 07-21-2017, 12:20 AM
Replies: 4
Views: 597
Posted By Medi0cr3
dude, that was like way above my brain power to...

dude, that was like way above my brain power to figure out on my own, thanks dude!

I tried it, but no luck. I couldn't get the dst_option to return anything.

a var_dump returns int(1), but its...
Forum: vB4 Programming Discussions 07-20-2017, 11:18 PM
Replies: 4
Views: 597
Posted By Medi0cr3
Vb4 user option bitfields, how to extract

How in the world do you extract the bitfields on individual users. I'm really only looking for daylight savings time on, off, and auto dst.

If anybody could help me I'd be greatly appreciative.
Forum: vB4 Programming Discussions 07-20-2017, 09:19 PM
Replies: 3
Views: 660
Posted By Medi0cr3
yes, an entry is in the session table that...

yes, an entry is in the session table that belongs to the user. I confirmed via IP address.

I confirmed that the settings for the cookie REQUIRES the folllowing for this code to work:

First...
Forum: vB4 Programming Discussions 07-20-2017, 08:57 PM
Replies: 3
Views: 660
Posted By Medi0cr3
Vb4 Custom external php login script - need help

I have a script that allows me to login a user without a password, having had integrated an SSO into my vbulletin, i'm using criteria from the SSO to secure the process for signing on. However, when...
Forum: vBulletin 3 Articles 07-19-2017, 03:07 PM
Replies: 162
Views: 125,306
Posted By Medi0cr3
Does this still work for Vbulletin 4.2.5????? I...

Does this still work for Vbulletin 4.2.5????? I am having ZERO luck with this. I also have modified THIS_SCRIPT .php file to reflect my php file.
Forum: vB4 Programming Discussions 02-25-2015, 07:01 PM
Replies: 9
Views: 1,156
Posted By Medi0cr3
Lol the guys at my work don't even want to talk...

Lol the guys at my work don't even want to talk to me without my coffee present lol
Forum: vB4 Programming Discussions 02-25-2015, 04:40 PM
Replies: 9
Views: 1,156
Posted By Medi0cr3
I saw that before I even posted, however, that is...

I saw that before I even posted, however, that is a @#($&* ton of code haha. I was just hoping there was a simple fix :erm:
Forum: vBulletin 3 Articles 02-25-2015, 04:39 PM
Replies: 24
Views: 19,106
Posted By Medi0cr3
This works great, 5 years later hah.. Thanks

This works great, 5 years later hah..

Thanks
Forum: vB4 Programming Discussions 02-25-2015, 03:12 PM
Replies: 9
Views: 1,156
Posted By Medi0cr3
<a href="http://puu.sh/gceSG/ff7874031a.png"...

<a href="http://puu.sh/gceSG/ff7874031a.png" target="_blank">http://puu.sh/gceSG/ff7874031a.png</a>

Press F12 and look for the Console.

You will see the log entries.

I do a fair bit of...
Forum: vB4 Programming Discussions 02-24-2015, 02:27 PM
Replies: 9
Views: 1,156
Posted By Medi0cr3
console.log <- Vbulletin using this and it rustles me.

When you load a page in vbulletin, it shows the console.log entries for expanding hiding/showing the forums displayed.

Is there anyway to stop making it show these console.log();

??????
Forum: vB4 Programming Discussions 02-04-2015, 04:15 PM
Replies: 4
Views: 635
Posted By Medi0cr3
require_once('./global.php'); $username =...

require_once('./global.php');
$username = mysql_real_escape_string($vbulletin->userinfo['username']);
$usergroupfield = $vbulletin->userinfo[usergroupid];


Only gets the viewing user's...
Forum: vB4 Design and Graphics Discussions 02-01-2015, 06:57 AM
Replies: 1
Views: 739
Posted By Medi0cr3
Next we need a PHP file to take all the header...

Next we need a PHP file to take all the header requests that jquery is sending. Create a php file named "TemplateJQ.php". I Like to put JQ at the end of all my php files that have this role as its...
Forum: vB4 Design and Graphics Discussions 02-01-2015, 06:57 AM
Replies: 1
Views: 739
Posted By Medi0cr3
Custom Edited Template utilizing JQuery

Custom Edited Template utilizing Jquery

Skill level: Late Beginner
Some Knowledge requred:
-PHP Syntax formatting
-Jquery Syntax formatting

If you dont know what JQuery is, check out some...
Forum: vB4 Programming Discussions 01-30-2015, 02:06 PM
Replies: 1
Views: 1,095
Posted By Medi0cr3
How to: Auto Center your Header Logo

Greetings,

I've tried to google how you have your logo auto center across your header on the forum. There's a lot of people that have various ways. I do my own and many will have various ways to...
Forum: vB4 Programming Discussions 01-24-2015, 12:59 PM
Replies: 3
Views: 519
Posted By Medi0cr3
That's a great way. You can also select the...

That's a great way. You can also select the membergroupids and then explode them into an array and add the ID you want and implode and insert again as well. You may have more flexibility if you're...
Forum: vB4 Programming Discussions 01-21-2015, 06:57 PM
Replies: 0
Views: 514
Posted By Medi0cr3
PHP modified Forum Permissions & updating the forum cache

As I figured out how to do this, I'm editing my post entirely more for a tutorial or a small how to.

If you want to update forum permissions by entries you make into the database, the data must be...
Forum: vB4 Programming Discussions 01-21-2015, 06:36 PM
Replies: 17
Views: 1,149
Posted By Medi0cr3
Thanks for everybody's help on this. I know have...

Thanks for everybody's help on this. I know have a decent understanding of the datamanagers. And the overhead issue with the forumcache.
Forum: vB4 Programming Discussions 01-21-2015, 04:38 PM
Replies: 17
Views: 1,149
Posted By Medi0cr3
Haha, Sounds great. I don't ever think I'll be...

Haha, Sounds great. I don't ever think I'll be that high up. However this is a pretty interesting project as I do a lot of other customized pages that apply and utilize things that people do in the...
Forum: vB4 Programming Discussions 01-21-2015, 01:17 PM
Replies: 17
Views: 1,149
Posted By Medi0cr3
It works great. I need to figure out how to edit...

It works great. I need to figure out how to edit it next haha.
I had to add the global variable and all is good.
Here's an example for others to follow if interested

<?php
//...
Forum: vB4 Programming Discussions 01-21-2015, 12:40 PM
Replies: 17
Views: 1,149
Posted By Medi0cr3
I have made it practice to include global.php....

I have made it practice to include global.php. There's a lot of usage I've done with that one included.

Fatal error: Call to undefined function can_administer() in...
Forum: vB4 Programming Discussions 01-21-2015, 10:39 AM
Replies: 17
Views: 1,149
Posted By Medi0cr3
sweet deal man. Much appreciation. The options...

sweet deal man. Much appreciation. The options actually wont be to much of a problem. I've figured out that the options column in the forum table are a bit when it is saved. So I made a forum with...
Forum: vB4 Programming Discussions 01-21-2015, 09:04 AM
Replies: 17
Views: 1,149
Posted By Medi0cr3
Thanks kh99, The I saw the do:update thing...

Thanks kh99,
The I saw the do:update thing last night as I was cruisin through the code. I'm just not sure how to supply information to the datamanager and haven't yet tried to utilize it via PHP...
Forum: vB4 Programming Discussions 01-20-2015, 06:14 PM
Replies: 17
Views: 1,149
Posted By Medi0cr3
New Forum via PHP, however.... Need help

I'm able to add a row to the "forum" table via PHP, however the newly created database entry for the forum only actually shows up anywhere in the forum and in the admin control panel is if you are in...
Forum: vB4 Programming Discussions 08-30-2014, 04:38 PM
Replies: 5
Views: 960
Posted By Medi0cr3
I am simply trying to put some data into my...

I am simply trying to put some data into my database from an extra field i have in the template.

i have a conditional that only lets the field show up in newthread template with a specific...
Showing results 1 to 25 of 27

 
Forum Jump

All times are GMT. The time now is 01:12 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.03789 seconds
  • Memory Usage 2,071KB
  • 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
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (25)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (20)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