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

Showing results 1 to 25 of 284
Search took 0.01 seconds.
Search: Posts Made By: grey_goose
Forum: vB4 General Discussions 07-10-2017, 05:24 PM
Replies: 6
Views: 643
Posted By grey_goose
Wasn't specified, but adding...

Wasn't specified, but adding "can_moderate($thread['forumid'])" would do the trick.
Forum: vB4 General Discussions 07-10-2017, 12:29 PM
Replies: 6
Views: 643
Posted By grey_goose
You could wrap the whole postbit template in: ...

You could wrap the whole postbit template in:


<vb:if condition="(in_array($GLOBALS[forumid], array(x)) && $bbuserinfo[userid] == $thread[postuserid])">
</vb:if>


The first condition lets...
Forum: vB4 Programming Discussions 06-21-2017, 10:00 PM
Replies: 15
Views: 1,150
Posted By grey_goose
You'll need to write a query (see second link)...

You'll need to write a query (see second link) and register it for use in that template. If you're not familiar with SQL queries, then you're probably best off just finding a mod like this...
Forum: vB4 Programming Discussions 06-20-2017, 03:56 PM
Replies: 15
Views: 1,150
Posted By grey_goose
This is an excellent resource for creating...

This is an excellent resource for creating custom/new pages:
https://vborg.vbsupport.ru/showthread.php?t=228112

You'd then need to do a plugin query...
Forum: vB4 General Discussions 06-18-2017, 10:42 PM
Replies: 2
Views: 256
Posted By grey_goose
It seems like the quick and dirty 'fix' would be...

It seems like the quick and dirty 'fix' would be to use the Replacement Variable Manager on 'links//' => 'links/' while you went through the VBA scripts to hunt down the problem?
Forum: vB4 Programming Discussions 06-18-2017, 10:37 PM
Replies: 1
Views: 503
Posted By grey_goose
Yep. Made one here...

Yep.

Made one here (https://vborg.vbsupport.ru/showthread.php?t=324202). It belongs to WindVoice (https://vborg.vbsupport.ru/member.php?u=544624) now, though, so you could ask him about sharing...
Forum: vB4 Programming Discussions 06-06-2017, 11:13 AM
Replies: 1
Views: 430
Posted By grey_goose
I've done something similar, by creating a...

I've done something similar, by creating a plugin.

Hook Location: global_bootstrap_init_start
Title: Current Timestamp


$timeplugin = time();
...
Forum: vBulletin 4.x Add-ons 06-01-2017, 11:06 AM
Replies: 6
Views: 4,208
Posted By grey_goose
Works like a charm. As usual, you the man!

Works like a charm. As usual, you the man!
Forum: vBulletin 4.x Add-ons 05-28-2017, 09:12 PM
Replies: 2,076
Views: 402,145
Posted By grey_goose
nvm, I just added into the 'Easy Forms Part 1'...

nvm, I just added into the 'Easy Forms Part 1' plugin:

~ line 807 just before 'mark_thread_read'


// Add Subscription
$fid = $vbulletin->input->clean_gpc('p', 'fid', TYPE_UINT);
if...
Forum: vBulletin 4.x Add-ons 05-28-2017, 01:20 PM
Replies: 2,076
Views: 402,145
Posted By grey_goose
Really love this mod, so first off -- big thanks....

Really love this mod, so first off -- big thanks.

Following this line of questions with ascroft (https://vborg.vbsupport.ru/showpost.php?p=2182257&postcount=1225), I wanted to add a subscription...
Forum: vB4 Programming Discussions 05-27-2017, 02:14 PM
Replies: 3
Views: 842
Posted By grey_goose
They'd probably care more if your conditions...

They'd probably care more if your conditions weren't so harsh. At the very least, you should be responsible for setting up the test environment rather than expecting someone to faithfully...
Forum: vB4 Programming Discussions 05-27-2017, 01:54 PM
Replies: 2
Views: 319
Posted By grey_goose
Ugh, I knew that. Got too dialed in on the...

Ugh, I knew that. Got too dialed in on the array and using options withe a text input to remember the basics.

Thanks so much :)

https://vborg.vbsupport.ru/external/2017/05/3.jpg
Forum: vB4 Programming Discussions 05-27-2017, 01:39 PM
Replies: 2
Views: 319
Posted By grey_goose
Each From with Select Option

field298 Single Line Text Box

Instead of free input I wanted to show a select dropdown to validate input. There were a ton of options, so I created an array, and then looped through the array to...
Forum: vB4 Programming Discussions 05-26-2017, 12:30 AM
Replies: 2
Views: 333
Posted By grey_goose
Woof, captain of the S.S. Failboat here. ...

Woof, captain of the S.S. Failboat here.

'char_userid' isn't set yet. Changed to char_name = $getusername worked like a champ.

WHERE char_userid = '$getuserid'
Forum: vB4 Programming Discussions 05-25-2017, 09:19 PM
Replies: 2
Views: 333
Posted By grey_goose
Populating custom userfields on registration

I run an RPG forum and user accounts are both players -and- characters. I've got a table with character (characters) info and I want to check it to see if a new account is for a character and if it...
Forum: vB4 Programming Discussions 05-25-2017, 08:13 PM
Replies: 8
Views: 793
Posted By grey_goose
Someone really should mark that as broken. I...

Someone really should mark that as broken. I tried using it as well (15+ minutes) and ended up just writing a trigger (2 minutes) on my user table.

You could probably also write a plugin at...
Forum: vB4 General Discussions 01-18-2017, 02:04 PM
Replies: 0
Views: 509
Posted By grey_goose
Registation URL - preload

Is there any syntax (POST, etc) that can be used to create a registration link with a preset username?
Forum: vBulletin 4.x Add-ons 01-04-2017, 03:54 AM
Replies: 89
Views: 34,263
Posted By grey_goose
Is there some reason to not just add: ...

Is there some reason to not just add:


$message = nl2br($message);


To address the line breaks?
Forum: vB4 Programming Discussions 01-02-2017, 04:33 PM
Replies: 5
Views: 1,294
Posted By grey_goose
Good point. I knew my spider sense was...

Good point. I knew my spider sense was tingling!

What about executing/updating it per user on MEMBERINFO pageview, since that's where the info is displayed? Probably add a quarter sec to page...
Forum: vB4 Programming Discussions 01-02-2017, 04:21 PM
Replies: 5
Views: 1,294
Posted By grey_goose
...Yes. Although the way you asked that makes me...

...Yes. Although the way you asked that makes me wonder if I'm doing something dumb *lol*

I know it's pretty spendy from running it by hand, but it's a small forum.
Forum: vB4 Programming Discussions 01-02-2017, 03:47 PM
Replies: 5
Views: 1,294
Posted By grey_goose
MYSQL Query to count words written

I've got a query written that more or less counts words, that I can execute on a per-user basis because it needs the userid in WHEREs.

What I'd like to do is be able to update the entire table and...
Forum: vBulletin 4.x Add-ons 11-17-2016, 01:35 PM
Replies: 1,238
Views: 289,502
Posted By grey_goose
Fair enough, thanks for the response!

Fair enough, thanks for the response!
Forum: vBulletin 4.x Add-ons 11-11-2016, 02:18 PM
Replies: 1,238
Views: 289,502
Posted By grey_goose
Any chance of getting Mentions/Quotes/Tags...

Any chance of getting Mentions/Quotes/Tags profile tabs melted into a single tab? Especially since Mentions and Tags provide nearly the same functionality, having three separate lists (and their...
Forum: vB4 Design and Graphics Discussions 11-07-2016, 01:53 AM
Replies: 6
Views: 1,073
Posted By grey_goose
Those templates will only create the space for...

Those templates will only create the space for the info to go into.

If you're wanting to fetch a custom column you'll need a plugin or to manually edit forumdisplay.php to include your column...
Forum: vB4 Programming Discussions 11-07-2016, 01:43 AM
Replies: 4
Views: 1,709
Posted By grey_goose
Pretty crazy this is so buried. Had to dig it up...

Pretty crazy this is so buried. Had to dig it up since we've been using tags more and more. The default behavior of sorting by when the tag was added rather than by thread/post dates is... a...
Showing results 1 to 25 of 284

 
Forum Jump

All times are GMT. The time now is 09:51 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.02063 seconds
  • Memory Usage 2,067KB
  • 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)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (25)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (19)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