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

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: Hereward
Forum: vBulletin 3.7 Add-ons 08-04-2008, 06:31 AM
Replies: 55
Views: 25,123
Posted By Hereward
I wonder if its possible to see a working example...

I wonder if its possible to see a working example rather than just the code snippets?

<?php
If ($vbulletin->userinfo['userid']!=0)
{
echo "Your logged in so we can display this";
...
Forum: vBulletin 3 Articles 07-27-2008, 12:38 PM
Replies: 103
Views: 40,990
Posted By Hereward
"well documented" ..? you gotta be joking ...

"well documented" ..? you gotta be joking

but I have figured it out now:
In order to force the save command to do an update instead of an insert you need to use
set_existing:

$existing =...
Forum: vBulletin 3 Articles 07-27-2008, 03:01 AM
Replies: 103
Views: 40,990
Posted By Hereward
yeah that's exactly what I am going to do, but it...

yeah that's exactly what I am going to do, but it seems wrong when there is an API which supposedly can do all this - but since I do not understand how it works and cannot find a working example or...
Forum: vBulletin 3 Articles 07-26-2008, 12:20 PM
Replies: 103
Views: 40,990
Posted By Hereward
I have spent many hours now trying to solve the...

I have spent many hours now trying to solve the humble little problem stated above with no success.

this is heartbreaking.

I tried to set the post id using this:

$postid =...
Forum: vBulletin 3 Articles 07-24-2008, 06:44 AM
Replies: 103
Views: 40,990
Posted By Hereward
Hi there, I am trying to work out how to...

Hi there,

I am trying to work out how to perform an update as opposed to an insert on the text of the first post of a thread.

I currently have the following which works fine for inserts:
...
Forum: vB3 Programming Discussions 06-15-2008, 08:50 AM
Replies: 17
Views: 2,407
Posted By Hereward
hi - thanks for that! in the example you...

hi - thanks for that!

in the example you referenced there is a variable $vbulletin which is passed as a parameter to the datamanager_init function. How is that variable created?

Also wondering...
Forum: vB3 Programming Discussions 06-15-2008, 08:45 AM
Replies: 17
Views: 2,407
Posted By Hereward
my guess is that the essence is in the following:...

my guess is that the essence is in the following:
require_once(DIR . '/includes/functions_newpost.php');
build_new_post('thread', , array(), $postinfo, $newpost, $errors);

I assume that...
Forum: vB3 Programming Discussions 06-15-2008, 08:37 AM
Replies: 17
Views: 2,407
Posted By Hereward
Create a thread remotely

My goal is simple. I need a PHP class which can interface with my external CMS in the following way:

1) create an article in CMS.

2) on completion of CMS submission, call a PHP function from my...
Forum: vB3 Programming Discussions 06-15-2008, 07:22 AM
Replies: 1
Views: 1,062
Posted By Hereward
Hi there, Is there a page I can visit which...

Hi there,

Is there a page I can visit which has documentation on how to use these API functions?

I want to create a PHP script which can be called from non-vbulletin CMS so that I can populate...
Showing results 1 to 9 of 9

 
Forum Jump

All times are GMT. The time now is 01:18 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.03578 seconds
  • Memory Usage 1,942KB
  • 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)post_thanks_navbar_search
  • (1)search_results
  • (9)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open 

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
  • forumjump
  • search_complete
  • navbits
  • navbits_complete