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

Showing results 1 to 25 of 40
Search took 0.01 seconds.
Search: Posts Made By: omardealo
Forum: vB4 General Discussions 11-07-2016, 11:29 AM
Replies: 8
Views: 534
Posted By MarkFL
What I would do instead is at that same plugin...

What I would do instead is at that same plugin hook, use the code:

if (THIS_SCRIPT === 'forumdisplay')
{
$template_hook['headinclude_css'] .= '<style>.threadlisthead span.threadinfo, .threadbit...
Forum: vB4 Design and Graphics Discussions 11-07-2016, 01:53 AM
Replies: 6
Views: 1,038
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 Design and Graphics Discussions 11-06-2016, 01:11 PM
Replies: 6
Views: 1,038
Posted By Seven Skins
Threadbit Template Find <!--...

Threadbit Template

Find
<!-- threadstats -->
<vb:if condition="!$show['notificationtype']">


Edit
<ul class="threadstats td alt">
<li>New Column</li>
Forum: vB4 General Discussions 11-01-2016, 04:50 PM
Replies: 2
Views: 334
Posted By MarkFL
Try adding: global $foruminfo; to the...

Try adding:

global $foruminfo;

to the beginning of your plugin.
Forum: vB3 General Discussions 04-01-2015, 09:18 PM
Replies: 4
Views: 743
Posted By ForceHSS
We need a link to your site so we can see the...

We need a link to your site so we can see the problems

Abbiamo bisogno di un link al tuo sito in modo che possiamo vedere i problemi
Forum: vB3 Programming Discussions 03-29-2015, 04:35 PM
Replies: 4
Views: 1,824
Posted By kh99
I think you need to change the string so that the...

I think you need to change the string so that the variables are evaluated, like this:
$order = '<td class="alt2">
<form...
Forum: vB3 Programming Discussions 12-01-2014, 02:23 PM
Replies: 7
Views: 1,360
Posted By Dave
You can do something like this: SELECT DISTINCT...

You can do something like this:
SELECT DISTINCT userid FROM `post` where threadid = threadid
Forum: vB3 Programming Discussions 11-25-2014, 05:05 PM
Replies: 8
Views: 1,103
Posted By Lynne
Doesn't that hide the full post (postid 35)? Or...

Doesn't that hide the full post (postid 35)? Or do you mean you don't want to show that message ("You can not see the content") either?
Forum: vB3 Programming Discussions 11-16-2014, 01:40 AM
Replies: 4
Views: 1,249
Posted By kh99
Maybe try putting a u at the end of your pattern...

Maybe try putting a u at the end of your pattern string:
"/\b(" . implode($bwords,"|") . ")\b/iu"

to tell it to use unicode strings.
Forum: vB3 Programming Discussions 11-11-2014, 02:17 PM
Replies: 4
Views: 716
Posted By Dave
Because the standard_error stops anything else...

Because the standard_error stops anything else once it's called, it will only loop once through the foreach loop.
Try something like this instead:

$bwords = explode("|",...
Forum: vB3 Programming Discussions 11-04-2014, 03:41 PM
Replies: 7
Views: 1,276
Posted By Lynne
What are you wanting to do this via a query and...

What are you wanting to do this via a query and not the admincp?
Forum: vB3 Programming Discussions 10-23-2014, 07:42 AM
Replies: 7
Views: 1,346
Posted By kh99
Hmm, I'm not sure I completely understand. But...

Hmm, I'm not sure I completely understand. But anyway, you could do something like this:

$msgs = $db->query_read_slave("SELECT * FROM " . TABLE_PREFIX . " pmtext");
while ($check =...
Forum: vB3 General Discussions 09-28-2014, 06:59 PM
Replies: 4
Views: 640
Posted By kh99
Those functions are in...

Those functions are in includes/adminfunctions.php, and they're pretty simple. Maybe what you could do is copy one of them and change it to do what you want. print_checkbox_row() puts each one in a...
Forum: vB3 General Discussions 09-28-2014, 04:27 PM
Replies: 4
Views: 640
Posted By Lynne
print_checkbox_row prints a SINGLE row/checkbox. ...

print_checkbox_row prints a SINGLE row/checkbox. It won't print from an array. You'll need to put that into a loop.
Forum: vB3 General Discussions 07-27-2014, 10:31 PM
Replies: 2
Views: 833
Posted By MaXimus
thanks a lot bro! cheers

thanks a lot bro! cheers
Forum: vB3 Programming Discussions 07-25-2014, 09:54 PM
Replies: 19
Views: 2,373
Posted By tbworld
"Safe Functions" allows a PHP function or user...

"Safe Functions" allows a PHP function or user function to be accessible via a template. It's main purpose was to limit harmful functions from being executed at presentation. "$safe_function" is an...
Forum: vB3 General Discussions 07-25-2014, 12:16 PM
Replies: 13
Views: 1,493
Posted By Jo_RHU
Great, it works. Thanks so much :) For...

Great, it works. Thanks so much :)

For anyone else interested this is the final code (obviously alter the forumid to your needs)

<form method="post"...
Forum: vB3 General Discussions 07-24-2014, 06:27 AM
Replies: 24
Views: 1,859
Posted By Simon Lloyd
There are mods already created for that.

There are mods already created for that.
Forum: vB3 General Discussions 07-14-2014, 11:19 PM
Replies: 24
Views: 1,859
Posted By Simon Lloyd
....and in their usercp :)

....and in their usercp :)
Forum: vB3 General Discussions 07-14-2014, 11:02 PM
Replies: 24
Views: 1,859
Posted By Zachery
There is already a list of posts that need to be...

There is already a list of posts that need to be moderated in the frontend...
Forum: vB3 General Discussions 07-14-2014, 07:38 PM
Replies: 24
Views: 1,859
Posted By ozzy47
I already said this was part of the default...

I already said this was part of the default software, but the OP must be doing something else as he said that was not a option.
Forum: vB3 General Discussions 07-14-2014, 06:54 PM
Replies: 24
Views: 1,859
Posted By Zachery
If you approve these items via the...

If you approve these items via the frontend/modcp, it does this for you.
Forum: vB3 General Discussions 07-13-2014, 05:01 PM
Replies: 24
Views: 1,859
Posted By Simon Lloyd
If you are using dataman in your plugin there...

If you are using dataman in your plugin there should be no need to call the update counters, below is the code that you'd use
build_forum_counters($forumid);
build_thread_counters($threaddm);...
Forum: vB3 General Discussions 07-12-2014, 11:54 PM
Replies: 24
Views: 1,859
Posted By ozzy47
Why would you need to do this in a plugin if it...

Why would you need to do this in a plugin if it already available in maintenance, is this for some sort of auto posting mod?
Forum: vB3 General Discussions 07-12-2014, 09:53 PM
Replies: 24
Views: 1,859
Posted By Lynne
They are listed in the Maintenance area of the...

They are listed in the Maintenance area of the admincp only. They can be server intensive, so they should only be run by the administrator if needed.
Showing results 1 to 25 of 40

 
Forum Jump

All times are GMT. The time now is 03:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01683 seconds
  • Memory Usage 2,033KB
  • 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
  • (28)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