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

Showing results 1 to 23 of 23
Search took 0.00 seconds.
Search: Posts Made By: Infoman4ever
Forum: vB4 Programming Discussions 12-22-2011, 08:13 PM
Replies: 4
Views: 628
Posted By Infoman4ever
Not sure I fully understand, I saw how are the...

Not sure I fully understand, I saw how are the fields set from class_postbit_alt.php but changing it from a plugin?! still unclear, you know, I'm new and I'm learning right here ;)

About the...
Forum: vB4 Programming Discussions 12-22-2011, 04:19 PM
Replies: 4
Views: 628
Posted By Infoman4ever
I want to do so using a product as usual, so I...

I want to do so using a product as usual, so I need to include instructions to a plugin, and I don't have a good experience in vbuelltin phrases, that's for I'm asking you explain more your solution...
Forum: vB4 Programming Discussions 12-22-2011, 11:01 AM
Replies: 4
Views: 628
Posted By Infoman4ever
Where to find the funtion vB_Template_Runtime::parsePhrase()

Hi,
I want to perform some changes to the post date on the postbit_legacy template, so I got the cached template from the database to see what to edit, I found this:

<span class="date">' ....
Forum: vB4 Programming Discussions 12-21-2011, 04:50 PM
Replies: 2
Views: 455
Posted By Infoman4ever
Great! that what I was looking for, thanks.

Great! that what I was looking for, thanks.
Forum: vB4 Programming Discussions 12-20-2011, 09:16 PM
Replies: 14
Views: 1,353
Posted By Infoman4ever
Congratulations, it works perfectly, just added...

Congratulations, it works perfectly, just added '/ surrounding the $fetch['data'] and here we go, the last code is:
$replace = '<span class="date">\';if($post[\'isfirstshown\']) { $final_rendered...
Forum: vB4 Programming Discussions 12-20-2011, 04:09 PM
Replies: 14
Views: 1,353
Posted By Infoman4ever
Well, I've already experienced the problem of the...

Well, I've already experienced the problem of the quotes, I'll do my best getting it works, thanks again Mr kh99.

--------------- Added 1324417995 at 1324417995 ---------------

Wow,...
Forum: vB4 Programming Discussions 12-20-2011, 03:29 PM
Replies: 14
Views: 1,353
Posted By Infoman4ever
Well, I'm not sure I've totally understand, but,...

Well, I'm not sure I've totally understand, but, you know, I gotta try.
Edit: I must add if($post['isfirstshown']) to the cached template so It does not affect the functionality of the template,...
Forum: vB4 Programming Discussions 12-20-2011, 03:15 PM
Replies: 14
Views: 1,353
Posted By Infoman4ever
Absolutely I could: <?php ...

Absolutely I could:

<?php
if($vbulletin->options['data_onoff']){

if(THIS_SCRIPT == 'showthread' AND $counter == 1 AND $fetchtype == 'post' AND $post['visible'] == 1)
{
$result =...
Forum: vB4 Programming Discussions 12-20-2011, 03:08 PM
Replies: 14
Views: 1,353
Posted By Infoman4ever
Wow, I printed the $counter and I found it's the...

Wow, I printed the $counter and I found it's the same (is 1) on every post, it's weird, does this make sense to you?
Forum: vB4 Programming Discussions 12-20-2011, 02:58 PM
Replies: 14
Views: 1,353
Posted By Infoman4ever
Thank you dear but unluckily it still the same...

Thank you dear but unluckily it still the same problem, it shows the thing in every post, very annoyed. I think it's logical, as long as we're on the same thread, "showthread_postbit_create" should...
Forum: vB4 Programming Discussions 12-20-2011, 02:39 PM
Replies: 14
Views: 1,353
Posted By Infoman4ever
Nice, it works except something, I have...

Nice, it works except something, I have something to add just to the first post, but -and you're right about the hook- now I'm getting it for each post of the thread, what's the point kh99?
And...
Forum: vB4 Programming Discussions 12-20-2011, 01:59 PM
Replies: 14
Views: 1,353
Posted By Infoman4ever
"If is first post" within a plugin PHP code

Hello folks,
I got a question, I want know what's the condition that says whether it's the first post of a given thread or not within a "plugin" (which is linked to "showthread_postbit_create"...
Forum: vB4 Programming Discussions 12-19-2011, 02:29 PM
Replies: 2
Views: 455
Posted By Infoman4ever
[How to] include a code within templates using a plugin or from another template

Hi,
I know now how to create a plugin and link it to a hook, and how to create a template and put it "manually" on an existing template, but what I don't know yet is how to put a piece of code from...
Forum: vB4 Programming Discussions 12-19-2011, 10:43 AM
Replies: 12
Views: 890
Posted By Infoman4ever
No it's the same for all users. what about the...

No it's the same for all users. what about the plugin? still with no solution yet.

--------------- Added 1324327701 at 1324327701 ---------------

[Sighing] At loooong last it worked, I replaced...
Forum: vB4 Programming Discussions 12-18-2011, 10:20 PM
Replies: 12
Views: 890
Posted By Infoman4ever
Wow, it worked perfectly, but I copy-pasted it...

Wow, it worked perfectly, but I copy-pasted it manually to "postbit_legacy", so that is not a permanent solution, I need either to use a hook, so which one? or to create a template and place it...
Forum: vB4 Programming Discussions 12-18-2011, 08:54 PM
Replies: 12
Views: 890
Posted By Infoman4ever
Well, it's not exactly alike, I just put the...

Well, it's not exactly alike, I just put the image to make you know the place (the date and time above the post like the first post: "Yesterday, 21:32" and above any other post also).
I'm using...
Forum: vB4 Programming Discussions 12-18-2011, 04:58 PM
Replies: 12
Views: 890
Posted By Infoman4ever
We did a good progress till now, just one thing...

We did a good progress till now, just one thing to know is where are they these compiled strings?
Forum: vB4 Programming Discussions 12-18-2011, 04:34 PM
Replies: 12
Views: 890
Posted By Infoman4ever
Well, where to put these lines please? And,...

Well, where to put these lines please?
And, why would it be difficult? if I could do it with a hook 'showthread_getinfo', I thought I can do it with another, I just don't know what is it, I saw...
Forum: vB4 Programming Discussions 12-18-2011, 12:23 PM
Replies: 12
Views: 890
Posted By Infoman4ever
I tried in couple places but did not get it where...

I tried in couple places but did not get it where I want, I want it to be displayed here (attached), that I should know the hook corresponding to this place, right?


Yep, here we are.


Well,...
Forum: vB4 Programming Discussions 12-17-2011, 07:32 PM
Replies: 12
Views: 890
Posted By Infoman4ever
Which hook to use?

Hi,
I added a new column to "thread" table and performed a plugin to fill it with a particular data relative to each thread and everything went well, but what I'm stacking on is Where to show this...
Forum: vB4 Programming Discussions 12-17-2011, 01:45 PM
Replies: 3
Views: 478
Posted By Infoman4ever
I found a way to do so, I added a new plugin...

I found a way to do so, I added a new plugin which is linked to the hook "showthread_getinfo", the plugins contains the update query of the new column.
Thank you kh99 very much for giving me some...
Forum: vB4 Programming Discussions 12-17-2011, 01:22 PM
Replies: 3
Views: 478
Posted By Infoman4ever
How to edit the files concerned by new thread method

Hey folks :)
I just started VB4 products programming and got the first levels, I need now to modify the thread method a bit, how? I need a new information relative to a new thread -using a...
Forum: vBulletin 4.x Add-ons 11-08-2011, 10:29 PM
Replies: 53
Views: 22,991
Posted By Infoman4ever
I would be happier if the hack makes it possible...

I would be happier if the hack makes it possible to download all my threads through my Profile page, are there a hack to do so? if not, please, give that a concern, we like sometimes to read our old...
Showing results 1 to 23 of 23

 
Forum Jump

All times are GMT. The time now is 01:23 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.03117 seconds
  • Memory Usage 2,015KB
  • 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
  • (23)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (33)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
  • forumjump
  • search_complete
  • navbits
  • navbits_complete