Register Members List Search Today's Posts Mark Forums Read

Showing results 1 to 25 of 27
Search took 0.01 seconds.
Search: Posts Made By: Medi0cr3
Forum: vB4 Programming Discussions 22 Jul 2017, 17:16
Replies: 4
Views: 459
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 21 Jul 2017, 02:20
Replies: 4
Views: 459
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 21 Jul 2017, 01:18
Replies: 4
Views: 459
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 20 Jul 2017, 23:19
Replies: 3
Views: 481
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 20 Jul 2017, 22:57
Replies: 3
Views: 481
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 19 Jul 2017, 17:07
Replies: 162
Views: 115,673
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 25 Feb 2015, 20:01
Replies: 9
Views: 953
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 25 Feb 2015, 17:40
Replies: 9
Views: 953
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 25 Feb 2015, 17:39
Replies: 23
Views: 14,601
Posted By Medi0cr3
This works great, 5 years later hah.. Thanks

This works great, 5 years later hah..

Thanks
Forum: vB4 Programming Discussions 25 Feb 2015, 16:12
Replies: 9
Views: 953
Posted By Medi0cr3
http://puu.sh/gceSG/ff7874031a.png Press F12...

http://puu.sh/gceSG/ff7874031a.png

Press F12 and look for the Console.

You will see the log entries.

I do a fair bit of Jquery coding as well on some custom pages and it is very annoying to...
Forum: vB4 Programming Discussions 24 Feb 2015, 15:27
Replies: 9
Views: 953
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 04 Feb 2015, 17:15
Replies: 4
Views: 548
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 01 Feb 2015, 07:57
Replies: 1
Views: 608
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 01 Feb 2015, 07:57
Replies: 1
Views: 608
Posted By Medi0cr3
Arrow 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 30 Jan 2015, 15:06
Replies: 1
Views: 912
Posted By Medi0cr3
Arrow 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 24 Jan 2015, 13:59
Replies: 3
Views: 397
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 21 Jan 2015, 19:57
Replies: 0
Views: 431
Posted By Medi0cr3
Arrow 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 21 Jan 2015, 19:36
Replies: 17
Views: 901
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 21 Jan 2015, 17:38
Replies: 17
Views: 901
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 21 Jan 2015, 14:17
Replies: 17
Views: 901
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 21 Jan 2015, 13:40
Replies: 17
Views: 901
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 21 Jan 2015, 11:39
Replies: 17
Views: 901
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 21 Jan 2015, 10:04
Replies: 17
Views: 901
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 20 Jan 2015, 19:14
Replies: 17
Views: 901
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 30 Aug 2014, 17:38
Replies: 5
Views: 878
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

 

New To Site? Need Help?

All times are GMT. The time now is 00:15.

Layout Options | Width: Wide Color: